Script to monitor interface errors

Unanswered Question
Apr 17th, 2008
User Badges:

Hi,


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.


Anuradha.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Thu, 04/17/2008 - 06:04
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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 1.3.6.1.2.1.2.2.1.14 for ifInErrors). If you specify an Alarm Action of Log or Trap & Log, the syslog messages can even be processed by RME.

dlwanuradha Fri, 04/18/2008 - 02:45
User Badges:

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.


Cheers,


Anuradha.

Joe Clarke Fri, 04/18/2008 - 22:21
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

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.

Actions

This Discussion