Using Nagios to Monitor CRC Errors
Posted: Thu Aug 22, 2013 11:06 am
Hello,
I am trying to have our Nagios monitor CRC errors. On the switch, we were able to run this to see the errors:
When I use the following on check_snmp I receive:
I don't believe this is working as hoped -- I feel it is just checking the status of the interface. When I run it on an interface that IS down/not connected...
Can anyone shed some light on why the -m is not functioning properly?
Thank you.
I am trying to have our Nagios monitor CRC errors. On the switch, we were able to run this to see the errors:
Code: Select all
#sh snmp mib walk RMON-MIB::etherStatsCRCAlignErrors
RMON-MIB::etherStatsCRCAlignErrors[1] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[2] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[3] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[4] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[5] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[6] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[7] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[8] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[9] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[10] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[11] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[12] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[13] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[14] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[15] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[16] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[17] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[18] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[19] = Counter32: 2 Packets
RMON-MIB::etherStatsCRCAlignErrors[20] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[21] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[22] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[23] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[24] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[97] = Counter32: 0 Packets
RMON-MIB::etherStatsCRCAlignErrors[98] = Counter32: 0 PacketsCode: Select all
./check_snmp -H 10.10.x.x -P 2c -C secret -o ifOperStatus.2 -r 1 -m RFC1213-MIB
SNMP OK - up(1) |Code: Select all
./check_snmp -H 10.10.x.x -P 2c -C secret -o ifOperStatus.4 -r 1 -m RFC1213-MIB
SNMP CRITICAL - *down(2)* |Thank you.