Code: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
Code: Select all
check_command check_nrpe!check_disk!20%!10%!/var
Code: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
Code: Select all
check_command check_nrpe!check_disk!20%!10%!/var
Code: Select all
command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
Code: Select all
check_command check_nrpe!check_disk!-a '-w 20% -c 10% -p /var'
This error is usually returned by the agent, and can imply a missing plugin, a bad path, or bad permissions. Can you show us a listing of the following directory on the remote host:hazmat wrote:"(No output returned from plugin)".
Code: Select all
ls -la /usr/local/nagios/libexec
Code: Select all
dont_blame_nrpe=1
Code: Select all
command_prefix=/usr/bin/sudo
Code: Select all
#command_prefix=/usr/bin/sudo
Code: Select all
./check_nrpe -H localhost
./check_disk -w 20% -c 10% -p /var
Code: Select all
./check_nrpe -H <remote host ip>
./check_nrpe -H <remote host ip> -c check_disk
./check_nrpe -H <remote host ip> -c check_disk -a '-w 20% -c 10% -p /var'