check_nrpe passing wrong arguments?
Posted: Mon Jan 20, 2014 8:21 pm
Hello,
I have a service check for my machine that checks the disk usage. However, in the log file the arguments seem to be messed up.
Log:
Here is my local config file for it.
and here is the local NRPE command definition
Here is the remote command configuration
Am I missing something?
I have a service check for my machine that checks the disk usage. However, in the log file the arguments seem to be messed up.
Log:
Code: Select all
Running command: /usr/local/nagios/libexec/check_disk -w 20 10 /home -c -pHere is my local config file for it.
Code: Select all
check_nrpe!check_disk!20!10!/homeand here is the local NRPE command definition
Code: Select all
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a "$ARG2$ $ARG3$ $ARG4$"Here is the remote command configuration
Code: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
Am I missing something?