Page 1 of 1
Check_nrpe. Help me
Posted: Wed Nov 23, 2011 8:46 pm
by hamballi
Here my error at my agent
Status: unknown
Status information: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
anyone can help me to solve this.. i noob and newbiew on nagios

Re: Check_nrpe. Help me
Posted: Mon Dec 26, 2011 5:23 am
by pennylane
Hello,
I was also having the same error. Then I realised I did not change my NSC.ini (for NSClient) (if you installed nrpe to the clients then it is nrpe.conf (something like that)) file in the client.
There is a section with "allowed_hosts=". May be you wrote different IP then your nagios server.
And as it is saying check the logs. I am not sure where exactly it is but I think it should be under /var/log.
Hope this helps.
Re: Check_nrpe. Help me
Posted: Tue Dec 27, 2011 5:41 pm
by jsmurphy
The logs are in the NSClient++ install location and called nsclient.log, in the log files it will tell you why the daemon is denying it access to information. It will most likely be as pennylane said that you need to set 'allowed_hosts' you may also need to change the 'password' field as well.
Re: Check_nrpe. Help me
Posted: Thu Jun 07, 2012 10:18 pm
by hamballi
Thankz Bro.. the solution you give. now my nagios running ok
