nrpe errors (maybe ssl related)
Posted: Tue Dec 13, 2016 7:44 pm
Hi,
i am trying to roll out nrpe across our fleet of Linux servers. I am installing the packages from the EPEL repos (4.x, 5.x, 6.x, 7.x)
on a few servers so far I have noticed different behavior when it comes to connecting, even locally with check_nrpe. On some of the servers, just installing nrpe and then uploading the cfg file and starting the service will work and it comes up ok in Nagios. However on other servers it seems like there are ssl errors.
so I added "--no-ssl" to the /etc/sysconfig/nrpe file and restarted nrpe service
so far so good, now let's try a check:
ok, what does /var/log/messages say:
notice this is all local, but the same error is received on the remote Nagios host as well. I'm unsure how to resolve it from here. When I don't use the -n option on these problem hosts as compared to the -n option:
check times out no matter how long the timeout (-t) is set to without the -n, but with it the check_nrpe fails with "unable to read output" and "Could not read request from client, bailing out..." in /var/log/messages
anyone have any ideas?
i am trying to roll out nrpe across our fleet of Linux servers. I am installing the packages from the EPEL repos (4.x, 5.x, 6.x, 7.x)
on a few servers so far I have noticed different behavior when it comes to connecting, even locally with check_nrpe. On some of the servers, just installing nrpe and then uploading the cfg file and starting the service will work and it comes up ok in Nagios. However on other servers it seems like there are ssl errors.
Code: Select all
tail -1 /var/log/messages
nrpe[12722]: Error: Could not complete SSL handshake. 1
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -n
NRPE v2.15
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H 127.0.0.1 -n -c check_users
NRPE: Unable to read output
Code: Select all
nrpe[12857]: Could not read request from client, bailing out...
Code: Select all
./check_nrpe -H 127.0.0.1 -c check_cpu
CHECK_NRPE: Socket timeout after 10 seconds.
./check_nrpe -H 127.0.0.1 -c check_cpu -n
NRPE: Unable to read output
anyone have any ideas?