SNMP Trap: Network Status¶
A trap is generated when a network failures occur.
Identification
- The originating IP / hostname is used to identify the system generating the traps
- The NMS is responsible for associating traps with each managed system, along with clearing of alarms and escalation to the relevant system operator
- The trap OID is generic for various SNMP events monitored by the system
- The SNMP system name is included as part of the variable binding to assist identification:
.iso.org.dod.internet.mgmt.mib-2.system.sysName.0 = standalone
Trap OID
.iso.org.dod.internet.mgmt.mib-2.dismanEventMIB.dismanEventMIBNotificationPrefix. dismanEventMIBNotifications.mteTriggerFired
Variable Bindings - Network failures
- .iso.org.dod.internet.mgmt.mib-2.system.sysUpTime.0 = 2 minutes (12065)
- snmpTrapOID = mteTriggerFired
- .iso.org.dod.internet.mgmt.mib-2.dismanEventMIB.dismanEventMIBNotificationPrefix. dismanEventMIBNotificationObjects.mteHotTrigger.0 = ‘ERROR: Network Failures’
- .iso.org.dod.internet.mgmt.mib-2.dismanEventMIB.dismanEventMIBNotificationPrefix. dismanEventMIBNotificationObjects.mteHotValue.0 = 1
- .iso.org.dod.internet.mgmt.mib-2.system.sysName.0 = standalone
Severity:
- Critical: ERROR: Network Failures
- Info: INFO: Network failures resolved
Example: Critical¶
Mar 22 14:07:58 robot-sl snmptrapd[1214]:
2019-03-22 14:07:58 <UNKNOWN>
[UDP: [192.168.100.3]:18751->[192.168.100.25]:162]:
#012iso.3.6.1.2.1.1.3.0 = Timeticks: (1155411) 3:12:34.11
#011iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.3.6.1.2.1.88.2.0.1
#011iso.3.6.1.2.1.88.2.1.1.0 = STRING: "ERROR: Network Failures"
#011iso.3.6.1.2.1.88.2.1.3.0 = STRING: "The following network failures occured: netntp: 172.29.1.15"
#011iso.3.6.1.2.1.88.2.1.5.0 = INTEGER: 1
#011iso.3.6.1.2.1.1.5.0 = STRING: "VOSS"
Example: Info¶
Mar 29 13:57:11 robot-sl snmptrapd
[1234]: 2019-03-29 13:57:11 <UNKNOWN>
[UDP: [192.168.100.3]:32794->[192.168.100.25]:162]:
#012iso.3.6.1.2.1.1.3.0 = Timeticks: (165816) 0:27:38.16
#011iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.3.6.1.2.1.88.2.0.1
#011iso.3.6.1.2.1.88.2.1.1.0 = STRING: "INFO: Network failures resolved"
#011iso.3.6.1.2.1.88.2.1.3.0 = STRING: "Network failures resolved"
#011iso.3.6.1.2.1.88.2.1.5.0 = INTEGER: 0
#011iso.3.6.1.2.1.1.5.0 = STRING: "VOSS"