Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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...
The problem, lies in that you are specifying the ifOperstatus oid, which simply checks if the port is up or down. You want to be checking RMON-MIB::etherStatsCRCAlignErrors just like you did in the walk. I am not sure if you can specify it as I just stated, or if you need to find the specific shortname or use full oid, however the first step is definitely changing the -o flag.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Best of luck. Let us know if you have continued problems.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Could you post the RFC1213-MIB mib? Also, are you certain that the device you are using supports snmp checking of the crc counter? What model and manufacturer is it?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
OK, this does state that your device supports the crc checks, however it is not the mib needed. The mib, would be the file installed on your nagios machine to interpret the oids as shortnames as you just showed. You might also try:
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Perfect! Good luck and let us know if there are other issues. I'll lock this up then.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.