Hi! I mainly used NCPA but for some reasons, I had to install NRPE on some older servers.
I'm trying to configure NRPE to give me an Unknown state instead of Critical when I get a timeout on port 5666.
Seems to be the default with NCPA, but not with NRPE.
Thanks for your time.
NRPE services check RC=2 when agent is down
Re: NRPE services check RC=2 when agent is down
You could change your command to use the "-u" flag. From the plugin's usage:
Example:
See the usage of the check_nrpe plugin by running:
This way, connection problems would return "Unknown" instead of "Critical".-u, --unknown-timeout Make connection problems return UNKNOWN instead of CRITICAL
Example:
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -u -t 30 -c $ARG1$ $ARG2$Code: Select all
/usr/local/nagios/libexec/check_nrpe -hBe sure to check out our Knowledgebase for helpful articles and solutions!