Monitoring ifInErrors/ifOutErrors on switchports

Monitoring ifInErrors/ifOutErrors on switchports

I want to query the ifInErrors and ifOutErrors on the switchports of my switch, so I can get a quick overview of where errors are being generated so I can detect it at a glance, because in my network, it most often indicates duplex mismatches.

So the OID I want to query for this particular device is:

1.3.6.1.2.1.2.2.1.14.x ifInErrors
1.3.6.1.2.1.2.2.1.20.x ifOutErrors

Where x denotes the interface number.

I don't think there's a predefined Cisco monitor for this, so I tried defining it as a custom monitor. However, I would like to enable it on /every/ port, without having to define a custom monitor for each OID, for every device.

The OID reports correctly:

> snmpwalk -c xxxx -v 1 yyyy 1.3.6.1.2.1.2.2.1.14.54
IF-MIB::ifInErrors.54 = Counter32: 2358


Can anyone give me a pointer as to how to do this for all interfaces, without having to define a custom monitor for each port?

A bit like how when you add the Cisco Interface In CRC Errors monitor, it asks you for which interface.


















                  New to ADSelfService Plus?