Check_nrpe. Help me

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
hamballi
Posts: 2
Joined: Wed Nov 23, 2011 8:37 pm

Check_nrpe. Help me

Post 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 :(
pennylane
Posts: 6
Joined: Thu Jul 21, 2011 3:31 am

Re: Check_nrpe. Help me

Post 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.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Check_nrpe. Help me

Post 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.
hamballi
Posts: 2
Joined: Wed Nov 23, 2011 8:37 pm

Re: Check_nrpe. Help me

Post by hamballi »

Thankz Bro.. the solution you give. now my nagios running ok :)
Locked