SNMP Trap: DNS status¶
A trap is generated if DNS is not configured.
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 - DNS not configured.
.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 = ‘WARNING: No dns configured for <server info>’
.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:
Urgent: WARNING: No dns configured for <server>
Resolution:
Configure a DNS for the system with network dns add <server>
Example: Urgent¶
Mar 20 12:13:50 robot-sl snmptrapd[1214]:
2019-03-20 12:13:50 <UNKNOWN>
[UDP: [192.168.100.3]:37298->[192.168.100.25]:162]:
#012iso.3.6.1.2.1.1.3.0 = Timeticks: (375782) 1:02:37.82
#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: "WARNING: No dns configured for VOSS-192.168.100.3"
#011iso.3.6.1.2.1.88.2.1.3.0 = STRING: "It is recommended that the dns is configured.
To configure dns use the following command: network dns <server1> <server2>"
#011iso.3.6.1.2.1.88.2.1.5.0 = INTEGER: 1
#011iso.3.6.1.2.1.1.5.0 = STRING: "VOSS"