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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sh.shekhar89
Posts: 52
Joined: Fri Oct 10, 2014 3:17 pm

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

Post 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?
deaqo
Posts: 6
Joined: Tue Nov 04, 2014 10:18 am

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

Post 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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked