11-29-2012 03:00 AM
Hello all,
Can someone please tell me why this EEM won't work?
event manager applet test1 trap
event snmp oid .1.3.6.1.2.1.14.10.1.6 get-type exact entry-op eq entry-val "down" poll-interval 2
Basically, the event should be triggered if an ospf neighbor state is down.
Cheers
Carlton
Solved! Go to Solution.
12-01-2012 02:43 PM
This won't work for a lot of reasons. For one, you cannot use a leading '.'. Two, you have not put an instance here, and you're using a get-type of exact. Finally, this object returns an integer not a string. The value for "down" is 1. This will work at the very least, but it's likely not what you want. You will want to find the specific neighbor ID and route index:
event manager applet test1 trap
event snmp oid 1.3.6.1.2.1.14.10.1.6 get-type next entry-op eq entry-val 1 poll-interval 2
12-01-2012 02:43 PM
This won't work for a lot of reasons. For one, you cannot use a leading '.'. Two, you have not put an instance here, and you're using a get-type of exact. Finally, this object returns an integer not a string. The value for "down" is 1. This will work at the very least, but it's likely not what you want. You will want to find the specific neighbor ID and route index:
event manager applet test1 trap
event snmp oid 1.3.6.1.2.1.14.10.1.6 get-type next entry-op eq entry-val 1 poll-interval 2
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