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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

interface errors

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
Cisco Employee

Re: interface errors

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"

New Member

interface errors

Hi Joe,

Will the aforementioned script work on NX-OS ?

Thanks!

   -Alex

Cisco Employee

Re: interface errors

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

474
Views
10
Helpful
3
Replies