11-14-2016 09:04 PM - edited 03-08-2019 08:09 AM
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?
11-15-2016 03:35 AM
Hello,
what are you tracking ? An interface ? ICMP responses ? Can you post the entire SLA config ?
11-15-2016 08:06 AM
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.
11-16-2016 12:37 AM
Hello,
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...
http://networkengineering.stackexchange.com/questions/6784/is-there-an-snmp-mib-for-cisco-track-objects
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide