Page 1 of 1
Enabling UNKNOWN state for all failed nrpe checks
Posted: Thu May 31, 2018 6:33 pm
by awilson
Hi. I've reviewed the documentation and a few posts before writing. I want to enable the "-u" flag and receive UNKNOWN instead of CRITICAL for all of the nrpe and nsclient checks. Is it possible to update command.cfg to do this?
Thanks!
Alan
Re: Enabling UNKNOWN state for all failed nrpe checks
Posted: Fri Jun 01, 2018 7:05 am
by scottwilkerson
Yes, but in XI you would want to do it in the CCM -> Commands -> check_nrpe -> Edit
change the command from this
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
to this
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -u -t 30 -c $ARG1$ $ARG2$
Then once saved, Apply configuration