All MIBs › DIRECTORY-MONITOR-MIB › directoryStateNotification
directoryStateNotification
Module: DIRECTORY-MONITOR-MIB
OID (symbolic): DIRECTORY-MONITOR-MIB::directoryStateNotification
OID (numeric): 1.3.6.1.4.1.8072.7777.2.0.1
Node type: NOTIFICATION-TYPE
Description: Directory state change notification.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' DIRECTORY-MONITOR-MIB::directoryStateNotification snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.8072.7777.2.0.1
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:50606->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (346714030) 40 days, 3:05:40.30 SNMPv2-MIB::snmpTrapOID.0 = OID: DIRECTORY-MONITOR-MIB::directoryStateNotification
SNMPv3 example:
snmptrap -v3 -l authPriv -u snmpv3user -a SHA -A "AuthPass1" -x AES -X "PrivPass1" <manager> '' DIRECTORY-MONITOR-MIB::directoryStateNotification
Start monitoring Host running Net-SNMP agent (directory monitoring extension) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DIRECTORY-MONITOR-MIB::directoryStateNotification OID value, configure state conditions and alerts, and monitor any Host running Net-SNMP agent (directory monitoring extension) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.8072 | netSnmp | NET-SNMP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.8072.7777 | monitor | DIRECTORY-MONITOR-MIB |
| 1.3.6.1.4.1.8072.7777.2 | notifications | DIRECTORY-MONITOR-MIB |
| 1.3.6.1.4.1.8072.7777.2.0 | notificationsPrefix | DIRECTORY-MONITOR-MIB |
| 1.3.6.1.4.1.8072.7777.2.0.1 | directoryStateNotification | DIRECTORY-MONITOR-MIB |