Comments on Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.

Error: Nagios/Icinga (Debian Squeeze) - CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. You monitor a remote server with Nagios or Icinga and see the following error in your Nagios/Icinga web interface: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. In /var/log/syslog on the remote server you see these messages: Aug 23 14:20:20 server2 nrpe[11496]: Error: Request contained command arguments, but argument option is not enabled! Aug 23 14:20:20 server2 nrpe[11496]: Client request was invalid, bailing out...

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: robbyb

There is another possible reason for the above error:

If all is configured as above AND a nagios command configured like

command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -t 60 -c $ARG1$ -a "$ARG2$"

AND a concrete check_command is configured like

 check_command                   check_nrpe!check_apt

WITHOUT a second argument to propagated to the -a option the above error occurs in nrpe version 2.15. In version 2.13 the check would be ok.

A solution is to configure 2 nagios commands one with and one without the commandline switch -a.