cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2417
Views
10
Helpful
3
Replies

interface errors

aamit
Community Member

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

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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"

Hi Joe,

Will the aforementioned script work on NX-OS ?

Thanks!

   -Alex

No, this won't work on NX-OS.  NX-OS doesn't have the email action, nor does it have the interface event detector.