NRPE on Solaris not working


#1

Hi there, I have installed nrpe on solaris under inetd. It responds when I do a telnet to port 5666.

On the solaris box, a snippit of my nrpe.cfg and the manual result of the check_load command:
command[check_load]=/usr/local/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20

bash-2.05# /usr/local/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
OK - load average: 0.00, 0.00, 0.02

I run on the server:
./check_nrpe -H chaempip2 -c check_load
CHECK_NRPE: Socket timeout after 10 seconds.

And on the client I get:

Oct 4 13:00:04 chaempip2 nrpe[4861]: [ID 421412 daemon.error] Could not read request from client, bailing out…
Oct 4 13:00:22 chaempip2 nrpe[4862]: [ID 421412 daemon.error] Could not read request from client, bailing out…

Any suggestions? Should I find the source and recompile?

Norm


#2

this solution is in nrpe.pdf file it self u can refer there


#3

This is a very old post but just in case anyone else looks it up and is having a problem,

It’s likely an nrpe version mismatch. The nagios-plugins package likely has check_nrpe 2.x while it sounds like you’re using 1.x on your clients. You’ll end up with SSL problems.

Try compiling a 2.x nrpe on your clients and seeing if that resolves the issue