EIGRP Neighbhor down applet

Unanswered Question
Nov 29th, 2011
User Badges:

We have p2p metro-ethernet link between a 65kVSS and N7k running eigrp..
I wanted to monitor this link and forward the traps to SNMP server in the event of failure..
N7k and 65k has many other eigrp peers..but I wanted to monitor only this particular peers over p2p link...
so decided to monitor this particular eigrp neighbhorship..

Can we use EEM and write an applet to match the nighbhor down on the syslog and then forward the log to snmp?


Log messages on N7k:



2011 Oct 23 13:17:37 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: holding time expired

2011 Oct 23 13:03:44 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is up: new adjacency

2011 Oct 23 13:05:14 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: retry limit exceeded

2011 Oct 23 13:17:37 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: holding time expired

2011 Oct 23 13:03:44 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is up: new adjacency

2011 Oct 23 13:05:14 NEXUS-1-DMZ %EIGRP-5-NBRCHANGE_DUAL:  eigrp-1 [5158] (default-base) IP-EIGRP(0) 1: Neighbor 10.45.255.133 (Vlan777) is down: retry limit exceeded


So I planned to write an applet which will forward an snmp trap for Neighbor 10.45.255.133 (Vlan777) is down:
Does this idea sound good..Can you give me some tips in achieving this ?


event manager applet P2P_Link_Failure      <Creates and registers the applet with EEM>

event syslog pattern "Neighbor 10.45.255.133 (Vlan777) is down"  <Configures syslog event detector to match the error message>

action 1.0 snmp-trap strdata "Neighbor 10.45.255.133 (Vlan777) is down"

action 1.1 syslog priority Emergency msg "P2P Link Failure"

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Vinayaka Raman Tue, 11/29/2011 - 04:57
User Badges:

I wanted to send a customized neighbhor down trap for eigrp neighbhor failure for existing MIB..Please assist

Vinayaka Raman Tue, 11/29/2011 - 19:02
User Badges:

I am very new to this EEM...



I have downloaded the MIB file for EEM...


ftp://ftp.cisco.com/pub/mibs/v2/CISCO-EMBEDDED-EVENT-MGR-MIB.my


Can someone guide me writing an applet that would match "specific neighbhor loss" and triggers an snmp trap which matches the listed MIB..? or is my perception wrong?


I know there are some additional var bind commands i have to add to complete this..but i am looking for some asistance


Any help will be highly appreciated...thank you

Actions

This Discussion

Related Content