All MIBs › MY-SYSTEM-MIB › mySystemPowerStateChange
mySystemPowerStateChange
Module: MY-SYSTEM-MIB
OID (symbolic): MY-SYSTEM-MIB::mySystemPowerStateChange
OID (numeric): 1.3.6.1.4.1.171.10.97.2.1.2.3
Node type: NOTIFICATION-TYPE
Description: while the state of power changed, then this trap will be sent.
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> '' MY-SYSTEM-MIB::mySystemPowerStateChange snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.171.10.97.2.1.2.3
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]:54294->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (55016982) 6 days, 8:49:29.82 SNMPv2-MIB::snmpTrapOID.0 = OID: MY-SYSTEM-MIB::mySystemPowerStateChange
Start monitoring D-Link managed Ethernet switch (system identity/hardware status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-SYSTEM-MIB::mySystemPowerStateChange OID value, configure state conditions and alerts, and monitor any D-Link managed Ethernet switch (system identity/hardware status) from a single console.
OID Breakdown
Upper-level ancestors (10 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.1 | mySystemMIB | MY-SYSTEM-MIB |
| 1.3.6.1.4.1.171.10.97.2.1.2 | mySystemMIBTraps | MY-SYSTEM-MIB |
| 1.3.6.1.4.1.171.10.97.2.1.2.3 | mySystemPowerStateChange | MY-SYSTEM-MIB |