Page 1 of 1

[HELP] How to fix :Received 0 bytes from daemon

Posted: Tue Nov 04, 2014 12:29 am
by sh.shekhar89
Hi all,

I am getting this error for check_windows_update.ps1 ,but after some time this error will go automatically :

CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages

Can some one guide me how to remove this error. do i have to change the time settings for the command to work?

Re: [HELP] How to fix :Received 0 bytes from daemon

Posted: Tue Nov 04, 2014 10:37 am
by deaqo
Hi

do you see something in you nrpe log? maybe there is the answer of you problem. I got something similar, but the log says "Error: Request contained command arguments!" and to repair this I have to do,

recompile the nrpe agent, like this:

./configure --enable-command-args

make all
make install-plugin
make install-daemon
make install-daemon-config
make install-xinetd

I have done everything, but now when i just run "make all" I got other error. But this is the way that you can fix the error.

Best Regards!

Hope you can repair that!

Re: [HELP] How to fix :Received 0 bytes from daemon

Posted: Tue Nov 04, 2014 3:40 pm
by abrist
Checking the remote nrpe logs (usually system messages) will help identify why you are having this issue.
Also, the following doc may be useful to you:
http://assets.nagios.com/downloads/nagi ... utions.pdf