Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

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

Script to monitor interface errors


Does anyone have a script that I can run from ciscoworks or opsware to check all uplinks on the camps to find out if there's any erroring ports. (input errors, output errors, crc, etc).

I have seen some EEM TTL scripts, but at the moment it's not a viable option for me.

Thanks in advance.


  • Network Management
Cisco Employee

Re: Script to monitor interface errors

Is it EEM that you cannot use (e.g. IOS is too old), or are you adverse to using EEM Tcl scripts? The reason I ask is that you can monitor errors using EEM applet policies.

If you'd rather not use EEM at all, you can use the CiscoView Mini-RMON Manager to deploy RMON alarms and events onto your devices to watch for errors. This assumes, of course, that the devices in question are switches (you did say uplinks, so I'm guessing this is the case).

To use Mini RMON Manager to do this, go to CiscoView > Mini RMOM, select your device, then under Setup, click Alarms. Create a new Alarm for the metric you want (e.g. CRC Errors). You can even specify the Alarm Variable as Other, then enter any MIB variable you'd like (such as for ifInErrors). If you specify an Alarm Action of Log or Trap & Log, the syslog messages can even be processed by RME.

New Member

Re: Script to monitor interface errors

Hi Joe,

Thanks for the help. What I'm trying to do is, to gather all interfaces which are erroring my entire campus. like a morning health check, not as in real time monitoring. that's why I can't use EEM, because it's just throwing alerts to the monitoring platform. I think Mini RMOM is somewhat similar isn't it.

So as I said I'm looking for a way of creating a report to find out which interfaces are having CRCs before the start of business day.



Cisco Employee

Re: Script to monitor interface errors

Well, any tool you use will have to get its data somehow. If you use RMON to send syslog messages to RME, you can run reports in RME to see which devices sent syslog messages over a 24-hour period.

You might also look at the Health and Utilization Monitor add-on to LMS 3.0. With HUM you can create custom pollers, and generate reports based on the data gathered by those pollers.