I'm trying to create an EEM script to monitor the status of some EIGRP peers on a specific interface. The failure detection works, the problems I have are:
- The applet trigger is syslog, unfortunately there are two peers on the interface, so I get two syslogs, and thus the applet runs twice sending two traps. I only want one.
- I want the applet to wait for 10 minutes after it is triggered before checking the EIGRP neighbor status (in case the peer comes back up right away). The wait 600 seconds command doesn't seem to work as the trap is sent immediately.
Any help would be greatly appreciated!
snmp-server enable traps event-manager
event manager session cli username myuserid
event manager scheduler applet thread class default number 1
event manager applet backup-link-status
event syslog pattern "%DUAL-5-NBRCHANGE"
action 90 wait 600
action 100 cli command "show ip eigrp nei | inc Tu150"
I don't have the wait option under the IOS version that I have, so I can't test that. As far as your other, you're going to need to set up eem scripts for every neighbor that you have off of that interface and change your action to point to those neighbors.
Say that your neighbor is 192.168.1.10, 192.168.1.15, and 192.168.1.25
Then you'll get one message when they go down. The way that you have yours up above, I expect that it's also logging action 130 when the peering comes back up as well. You'll create another eem script for the up status if you wanted to log when they came back up.
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...