SNMP Trap: Mailbox Status¶
A trap is generated when the local mailbox reaches 200 plus emails.
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 - Mailbox email messages reach 200
- .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: The total messages in the local mailbox for %s has reached in excess of 200’
- .iso.org.dod.internet.mgmt.mib-2.dismanEventMIB.dismanEventMIBNotificationPrefix. dismanEventMIBNotificationObjects.mteHotValue.0 = 1
- .iso.org.dod.internet.mgmt.mib-2.system.sysName.0 = standalone
Variable Bindings - Mailbox email messages reach 500
- .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 = ‘INFO: Messages for <server info> auto archived as it reached more than 500’
- .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 Messages:
- Info : INFO: Messages for <server> auto archived as it reached more than 500, INFO: The total local messages for <server> is now under 200
- Warning: WARNING: The total messages in the local mailbox for platform has reached in excess of 200
Example: WARNING¶
Mar 22 09:33:46 robot-sl snmptrapd[1214]:
2019-03-22 09:33:46 <UNKNOWN>
[UDP: [192.168.100.3]:62862->[192.168.100.25]:162]:
#012iso.3.6.1.2.1.1.3.0 = Timeticks: (15555245) 1 day, 19:12:32.45
#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: The total messages in the local mailbox for platform has reached in excess of 200"
#011iso.3.6.1.2.1.88.2.1.3.0 = STRING: "Use the following mail commands to manage the local mailbox:
mail del <number> - delete the selected mail
mail del <from#> <to#> - deletes the selected range of mail message
mail del all Message is truncated"
#011iso.3.6.1.2.1.88.2.1.5.0 = INTEGER: 1
#011iso.3.6.1.2.1.1.5.0 = STRING: "VOSS"