06-13-2016 11:50 PM
Hello,
I was trying to write a script to alert our help desk when any interface on switch exceeds the bandwidth.
For one interface we can use interface event detector..(event interface name gi0/1....)
I want this to apply for all interfaces in one applet.
Please suggest.
Regards,
Faizan.
06-16-2016 09:20 AM
You can use a watchdog timer instead and parse the output of "show interface" to get the load factor. This requires quite a bit more logic as well as EEM 3.0 or higher.
06-17-2016 07:38 AM
Hello Joe,
Thanks for your reply.
If i use watchdog timer to check interfaces load for every five minutes, does it take high cpu utilization ??
06-17-2016 08:59 AM
It will depend on the number of interfaces and how often the timer runs. You can estimate CPU by what it would take to manually run the CLI commands to pull out the interface load factor that in with the frequency. Ultimately, it shouldn't impact the CPU too much if you're running this every five minutes.
06-21-2016 03:41 AM
Sorry for the late reply Joe,
will give a try and get back to you.
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