Page 2 of 2
Re: change severity for polled ports
Posted: Wed Feb 19, 2014 2:45 pm
by sreinhardt
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.
Re: change severity for polled ports
Posted: Thu Feb 20, 2014 4:22 am
by deepavaidya
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
Posted: Thu Feb 20, 2014 2:34 pm
by tmcdonald
That error will not be output by the plugin itself, but rather a snmp utility the script runs. Probably snmpwalk or snmpget.