07-16-2013 02:29 PM
Is there an script that can monitor interface errors (input and output errors) and send an email out when it reaches threshold?
Thanks
Sent from Cisco Technical Support iPhone App
07-16-2013 02:51 PM
Sure. Here's an example:
event manager applet error_monitor_GigabitEthernet0/1
event interface name GigabitEthernet0/1 parameter input_errors entry-op ge entry-val 5 entry-type increment poll-interval 10
action 2.0 cli command "enable"
action 3.0 cli command "show int GigabitEthernet0/1 | inc error"
action 4.0 mail server 10.1.1.1 from user@company.com to user@company.com subject "Errors on interface GigabitEthernet0/1" body "
Interface GigabitEthernet0/1 has seen $_interface_delta_value input errors in the past 10 seconds: $_cli_result"
07-23-2013 07:10 PM
Hi Joe,
Will the aforementioned script work on NX-OS ?
Thanks!
-Alex
07-23-2013 08:30 PM
No, this won't work on NX-OS. NX-OS doesn't have the email action, nor does it have the interface event detector.
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