I need an OID code for track object. (up, down)
I have found out that there is none. So my idea was to have a tracking object monitored by EEM.
event manager applet CCRE
event syslog pattern "TRACKING-5-STATE: 10 ip sla 10 state Up->Down"
action 1.0 snmp-trap ................. DOWN (Now I don't know what to put.)
event manager applet CCRE-up
event syslog pattern "TRACKING-5-STATE: 10 ip sla 10 state Down->Up"
action 1.0 snmp-trap ........... UP
Does anyone have any idea what I should do?
IP SLA is simple ICMP echo. I ping an IP address. I ping every 5 sec. There is track object related to the IP SLA. if the ping fails 3 times it goes down. I'm able to useOID for IP SLA. It returns time of each ping. I would prefer to monitor track object. I don't care about times. I want to see UP or DOWN (1,0)
I will post the whole config as soon as possible.
I couldn't find an OID for track objects. But I googled around and found the thread below, check the second answer, not sure if that is what you are looking for...