cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

722
Views
0
Helpful
1
Replies
Highlighted

EEM Won't Work

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Cisco Employee

EEM Won't Work

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

1 REPLY 1
Hall of Fame Cisco Employee

EEM Won't Work

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards