I have some trap alerts working, but I need to get more detailed on the trap and the alert that is sent.
Here is an example of a trap I'm trying to alert on:
12/15/2009 5:01 PM : UPS-MIB:upsTraps.0.4 SNMP Trap
Received Time:12/15/2009 5:01:03 PM
Source:10.1.1.1(minups)
Community:blahblah
Variable Bindings
sysUpTime:= 25 days 15 hours 45 minutes 59.06 seconds (221675906)
snmpTrapOID:= UPS-MIB:upsTraps.0.4 (1.3.6.1.2.1.33.2.0.4)
upsAlarmId.2:= 2
upsAlarmDescr.2:= 1.3.6.1.2.1.33.1.6.3.15
experimental.1057.1:= 10.1.1.1
snmpTrapEnterprise:= UPS-MIB:upsTraps (1.3.6.1.2.1.33.2)
If I right click on the alert in the viewer and create a trap, I'll end up with an alert that will fire bsaed on snmpTrapOID of 1.3.6.1.2.1.33.2.0.4. What I really want is to alert on the upsAlarmDescr of 1.3.6.1.2.1.33.1.6.3.15.
How do I reference the variable binding directly? Or I don't even mind alerting if 33.1.6.3.15 is contained anywhere in the trap message.
It seems like it should be pretty simple.
Can anyone help?