NRPE Remote Check - blank

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
marky1986
Posts: 6
Joined: Thu Feb 18, 2016 6:48 am

NRPE Remote Check - blank

Post by marky1986 »

Hi,

I have a little problem with my nrpe checks from my Nagios server to remote hosts... they did work but no longer do and I have no idea what I've done to stop it working.

To confirm - I have the same problem to all remote hosts (mixture of Linux and Windows) using nrpe.
If I try a "/usr/local/nagios/libexec/check_nrpe -H localhost" on each host then it correctly returns a value ("NRPE v2.15").

However, if I try the same from the Nagios server - "/usr/local/nagios/libexec/check_nrpe -H <ip>" then it returns blank (literally nothing, no error either).

As its happening to all remote hosts I'm pretty sure it must be something wrong on my Nagios server... but as I'm getting no output (error) I have no idea where to look. As I say - they did once work but not sure what I've done to break it!

Any ideas?

Thanks.
marky1986
Posts: 6
Joined: Thu Feb 18, 2016 6:48 am

Re: NRPE Remote Check - blank

Post by marky1986 »

Sorry... as soon as I posted this I found out why.

For some reason my check_nrpe was 0 bytes on the Nagios server.
I've replaced the file with a proper check_nrpe file and it now works.

No idea why that happened!!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: NRPE Remote Check - blank

Post by hsmith »

That's petty strange! Would you like us to close this since you got it working?
Former Nagios Employee.
me.
Locked