snmptt.conf mib oids and Variables
Posted: Fri May 19, 2017 7:09 am
System:
Nagios XI Version : 5.4.4
CentOS release 6.5 (Final)
Can anyone please assist on the following issue:
We use SNMP traps to monitor an Adtran MX2800 device. The device has 28 x T1 ports. However if two or more of theT1 ports go in to alarm, the traps come in to nagios, however on the status screen, say if two ports are in alarm, the status screen will only show one port.
I have identified this due to the fact that the OID for the alarm fo all ports in relation to the alarm in question are the same. However is it possible to get an individual trap for each port to show up on the status screen so that we see all the ports that are in alarm rather than seeing only the last one that came in to the system ?
I'm not too sure as to what is meant by Variables in the snippet below from the snmptt.conf file below which shows the OID and alarm in question and if manipulating this in any way would provide the desired effect.
Nagios XI Version : 5.4.4
CentOS release 6.5 (Final)
Can anyone please assist on the following issue:
We use SNMP traps to monitor an Adtran MX2800 device. The device has 28 x T1 ports. However if two or more of theT1 ports go in to alarm, the traps come in to nagios, however on the status screen, say if two ports are in alarm, the status screen will only show one port.
I have identified this due to the fact that the OID for the alarm fo all ports in relation to the alarm in question are the same. However is it possible to get an individual trap for each port to show up on the status screen so that we see all the ports that are in alarm rather than seeing only the last one that came in to the system ?
I'm not too sure as to what is meant by Variables in the snippet below from the snmptt.conf file below which shows the OID and alarm in question and if manipulating this in any way would provide the desired effect.
Code: Select all
EVENT adMX2800xSetT1E1AISCarrier .1.3.6.1.4.1.664.1.198.0.44694 "Status Events" WARNING
FORMAT Status - Alarm: MX2800 44694: T1/E1 AIS Carrier Condition ActiveDSX Index: $1, Line ID: $2, Alarm Status, $3System Name, $4
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "Status - Alarm: MX2800 44694: T1/E1 AIS Carrier Condition ActiveDSX Index: $1, Line ID: $2, Alarm Status, $3System Name, $4"
SDESC
This indicates that MX2800 enters T1/E1 AIS Carrier mode.
Variables:
1: adMX2800StatusDSXIndex
2: adMX2800DSXCfgLineID
3: adMX2800SystemAlarmStatus
4: sysName
EDESC
#