Convert .my mib to .txt

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Convert .my mib to .txt

Post by ssax »

You would need to define multiple traps for this and use the MATCH statement to differentiate them.

Edit your current trap definition and at the bottom add this to the Additional Raw Data input:

Code: Select all

MATCH $2: !(Alarm cleared)
Then go to Admin > SNMP Trap Interface > Add a Trap Definition and add the exact same info but use this MATCH statement instead and select OK for the Check Status:

Code: Select all

MATCH $2: (Alarm cleared)
http://www.snmptt.org/docs/snmptt.shtml ... CONF-MATCH

See if those work for you, the first one will match only if "Alarm cleared" doesn't exist in that SNMP enterprise variable, the second one only matches if it does contain it.
Locked