getting EMC SMARTS to recognise CISCO-EPM-NOTIFICATION-MIB traps

Unanswered Question
Jul 21st, 2010
User Badges:

Has anyone found a way of getting EMC SMARTS to recognise CISCO-EPM-NOTIFICATION-MIB traps (As sent by CiscoWorks etc.)?  In particular I'm interested in getting it to recognize the Active and Clear states.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
GERARD PUOPLO Thu, 07/22/2010 - 07:20
User Badges:

INCHARGE-OI needs to be configured to get traps from the Trap-Adapter.  I believe in the out of box trap_mgr.conf file this trap is already defined. If not configured it as follows or something similar.


So just enable the trap adapter and configure the notification list so you filter out all the trap events you don't care about.


# ---------------------------------------------------------

# Cisco EPM Notification MIB Trap

#    The following trap definition is to accept traps from

#    an IP Telephony Monitor (ITM) Device. By Default this

#    defintion  assumes  the  device  is available in Open

#    Integration Server's  topology. If Not, then the this

#    trap will be ignored ( because of UnknownAgent=IGNORE)

# ---------------------------------------------------------

BEGIN_TRAP .1.3.6.1.4.1.9.9.311.0.1 6 1

       ClassName:   SNMPTrap

       InstanceName:       $SYS$

       EventName:   ciscoEpmNotificationAlarm

       Severity:    3

       EventText:   The 22 Varibles are - cenAlarmVersion= $V1$  cenAlarmTimestamp= $V2$  cenAlarmUpdatedTimestamp= $V3$  cenAlarmInstanceID= $V4$  cenAlarmStatus= $V5$  cenAlarmStatusDefinition= $V6$  cenAlarmType= $V7$  cenAlarmCategory= $V8$  cenAlarmCategoryDefinition= $V9$  cenAlarmServerAddressType= $V10$  cenAlarmServerAddress= $V11$  cenAlarmManagedObjectClass= $V12$  cenAlarmManagedObjectAddressType= $V13$  cenAlarmManagedObjectAddress= $V14$  cenAlarmDescription= $V15$  cenAlarmSeverity= $V16$  cenAlarmSeverityDefinition= $V17$  cenAlarmTriageValue= $V18$  cenEventIDList= $V19$  cenUserMessage1= $V20$  cenUserMessage2= $V21$  cenUserMessage3= $V22$ 

       Expiration:  600

       State:         NOTIFY

        UnknownAgent:   IGNORE

        LogFile:        NONE

END_TRAP

steve_evitts Thu, 07/22/2010 - 08:07
User Badges:

Hi Gerard


We've actually gone one step further with these traps already, see an extract from the conf bellow:

# Configured EPM Traps below
BEGIN_TRAP .1.3.6.1.4.1.9.9.311 6 1
ClassName: SNMPTrap
InstanceName: $V14$
EventName: Voice_Environment
Severity: 3
EventText: $V15$
State:         NOTIFY
        UnknownAgent:   CREATE
        UserDefined9:   The 22 Variables are - cenAlarmVersion= $V1$  cenAlarmTimestamp= $V2$  cenAlarmUpdatedTimestamp= $V3$  cenAlarmInstanceID= $V4$  cenAlarmStatus= $V5$  cenAlarmStatusDefinition= $V6$  cenAlarmType= $V7$  cenAlarmCategory= $V8$  cenAlarmCategoryDefinition= $V9$  cenAlarmServerAddressType= $V10$  cenAlarmServerAddress= $V11$  cenAlarmManagedObjectClass= $V12$  cenAlarmManagedObjectAddressType= $V13$  cenAlarmManagedObjectAddress= $V14$  cenAlarmDescription= $V15$  cenAlarmSeverity= $V16$  cenAlarmSeverityDefinition= $V17$  cenAlarmTriageValue= $V18$  cenEventIDList= $V19$  cenUserMessage1= $V20$  cenUserMessage2= $V21$  cenUserMessage3= $V22$
        UserDefined10:  $E$ $N$ $S$
END_TRAP

BEGIN_TRAP .1.3.6.1.4.1.9.9.311 6 2
ClassName: SNMPTrap
InstanceName: $V14$
EventName: Voice_Environment
Severity: 3
EventText: $V15$
State:         NOTIFY
       UnknownAgent:   CREATE
      UserDefined9:   The 22 Variables are - cenAlarmVersion= $V1$  cenAlarmTimestamp= $V2$  cenAlarmUpdatedTimestamp= $V3$  cenAlarmInstanceID= $V4$  cenAlarmStatus= $V5$  cenAlarmStatusDefinition= $V6$  cenAlarmType= $V7$  cenAlarmCategory= $V8$  cenAlarmCategoryDefinition= $V9$  cenAlarmServerAddressType= $V10$  cenAlarmServerAddress= $V11$  cenAlarmManagedObjectClass= $V12$  cenAlarmManagedObjectAddressType= $V13$  cenAlarmManagedObjectAddress= $V14$  cenAlarmDescription= $V15$  cenAlarmSeverity= $V16$  cenAlarmSeverityDefinition= $V17$  cenAlarmTriageValue= $V18$  cenEventIDList= $V19$  cenUserMessage1= $V20$  cenUserMessage2= $V21$  cenUserMessage3= $V22$
        UserDefined10:  $E$ $N$ $S$
END_TRAP

The problem is that these are both still "State: NOTIFY" as is the config you sent.


I think perhaps what we need is an ASL script that will pull out $V16$ (cenAlarmSeverity") and decide if that trap is a "NOTIFY" or a "CLEAR".


Right now, we see the traps in SMARTS...but it is not able to tell the difference between notify and clear traps.


Steve

Actions

This Discussion

Related Content