Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help with EEM script for monitoring Rx and Tx load on Link

Hello,

I'm trying to implement a script, which monitors the Tx and Rx Load on the Link and sends a syslog in case the load is exceeded 200 mark (i.e If Rx or Tx load > 200)

I have implemented the following script. But it is not giving the required results.

event manager applet test

event interface name Tunnel111 parameter rxload entry-val 200 entry-op gt entry-val-is-increment true poll-interval 5000

action 1.0 syslog msg "Increase Load On the Link"

I'm trying to monitor the load on Tunnel 111 which is mapped to WAN interface.

Router (Cisco 2821) has following IOS

c2800nm-advipservicesk9-mz.124-25g.bin

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Need Help with EEM script for monitoring Rx and Tx load on Link

The values for txload and rxload are not incremental.  Remove entry-val-is-increment.  Also, your polling interval is 8.33 minutes.  Is that what you want?

2 REPLIES
Cisco Employee

Need Help with EEM script for monitoring Rx and Tx load on Link

The values for txload and rxload are not incremental.  Remove entry-val-is-increment.  Also, your polling interval is 8.33 minutes.  Is that what you want?

Need Help with EEM script for monitoring Rx and Tx load on Link

Hello Joseph,

As per your suggestion, we made some changes in our script and the following script is working fine. Its giving the required syslogs when the load is exceeded.

event manager applet test

event interface name Tunnel111 parameter txload entry-val 200 entry-op gt entry-val-is-increment false poll-interval 5

action 1.0 syslog msg "Increased Load On the Link"

Your prompt assistance is really appriciated.

686
Views
0
Helpful
2
Replies
CreatePlease to create content