All MIBs › OGTRAP-MIB › ogpatnEventOccurred
ogpatnEventOccurred
Module: OGTRAP-MIB
OID (symbolic): OGTRAP-MIB::ogpatnEventOccurred
OID (numeric): 1.3.6.1.4.1.25049.0.1003
Node type: NOTIFICATION-TYPE
Description:
The alert sent when a pre-defined pattern was matched text in a consoles serial character stream
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::ogpatnEventOccurred snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25049.0.1003
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]:61751->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (84576567) 9 days, 18:56:05.67 SNMPv2-MIB::snmpTrapOID.0 = OID: OGTRAP-MIB::ogpatnEventOccurred