All MIBs › OGTRAP-MIB › ogsensStatusOccurred
ogsensStatusOccurred
Module: OGTRAP-MIB
OID (symbolic): OGTRAP-MIB::ogsensStatusOccurred
OID (numeric): 1.3.6.1.4.1.25049.0.1004
Node type: NOTIFICATION-TYPE
Description:
The trap sent when a sensor event occurs
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> '' OGTRAP-MIB::ogsensStatusOccurred snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25049.0.1004
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]:58516->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (185702036) 21 days, 11:50:20.36 SNMPv2-MIB::snmpTrapOID.0 = OID: OGTRAP-MIB::ogsensStatusOccurred