Hi,
there seems to be a problem, when nagios executes the check-command. Try to execute he command on the command line and check the output. Maybe, there is just a 'sudo' missing.
Here is a working example copied out of my nrpe.cfg
Code: Select all
command[check_scalix_d]=sudo /usr/lib/nagios/plugins/check_daemons.py -d
command[check_scalix_s]=sudo /usr/lib/nagios/plugins/check_daemons.py -s
command[check_clamd]=sudo /usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl -w 2 -c 5
command[check_mailq]=/usr/lib/nagios/plugins/check_postfix -w 25 -c 80
command[check_spamc]=/usr/lib/nagios/plugins/check_spamc
command[check_scalix_queues]=sudo /usr/lib/nagios/plugins/check_queues.py -c $ARG1$ -w $ARG2$ -q $ARG3$
Regards
Stephan