change severity for polled ports
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: change severity for polled ports
You would need to either write a wrapper script or alter the code for check_ifoperstatus and recompile it. The wrapper script would be far easier as you could look for the output of a port being unknown/inaccessible and modify the output and exit code to your liking.
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.
-
deepavaidya
- Posts: 80
- Joined: Sun Oct 06, 2013 8:23 am
Re: change severity for polled ports
I cannot find the statement "WARNING: SNMP error: No response from the remote host xxx" in check_ifoperstatus plugin or check_ifstatus plugin. From which script is this statement coming from ?
Re: change severity for polled ports
That error will not be output by the plugin itself, but rather a snmp utility the script runs. Probably snmpwalk or snmpget.
Former Nagios employee