I am using NPM to notify staff when it receives certain SNMP traps via email for our UPS. The email includes the trap message and lists the Variable bindings for the trap. Included in this is the upsAlarmDescr OID for the alarm. Is there a way to display the OID name in the email rather than the directory path so that I can see what the alarm is for rather than just a generic notification that an alarm is present?
Example:
Here is what I currently receive:
1/15/2013 12:30 PM :: UPSA UPS-MIB:upsTrapAlarmEntryAdded SNMP Trap
Received Time:1/15/2013 12:30:19 PM
Source:192.168.16.225
Community:
Variable Bindings
sysUpTime:= 310 days 15 hours 5 minutes 51.18 seconds (2683835118)
snmpTrapOID:= UPS-MIB:upsTrapAlarmEntryAdded (1.3.6.1.2.1.33.2.3)
upsAlarmId.4:= 4
upsAlarmDescr.4:= 1.3.6.1.2.1.33.1.6.3.6
Here is what I would like to receive:
1/15/2013 12:30 PM :: UPSA UPS-MIB:upsTrapAlarmEntryAdded SNMP Trap
Received Time:1/15/2013 12:30:19 PM alert
Source:192.168.16.225
Community:
Variable Bindings
sysUpTime:= 310 days 15 hours 5 minutes 51.18 seconds (2683835118)
snmpTrapOID:= UPS-MIB:upsTrapAlarmEntryAdded (1.3.6.1.2.1.33.2.3)
upsAlarmId.4:= 4
upsAlarmDescr.4:=upsAlarmInputBad