Not able to configure remote nrpe plugins for nagios

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.
Post Reply
JamesZimmerman
Posts: 10
Joined: Wed Mar 23, 2022 8:00 am

Not able to configure remote nrpe plugins for nagios

Post by JamesZimmerman »

I have installed nagios server including nrpe & nagios plugins. Its working properly.
However I am trying to install nrpe & nagios plugins for remote host monitoring using nagios server, After the configuration is done & I am running below command for testing:

/usr/local/nagios/libexec/check_nrpe -H localhost
Output:

CHECK_NRPE: Socket timeout after 10 seconds. (And for some of the services its giving)
CHECK_NRPE: Error - Could not complete SSL handshake.
The port 5666 is listening on that server.

Can anyone please let me know what other changes to be made to get proper results of the above command.

Also please let me know if you need any more details about the configurations.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Not able to configure remote nrpe plugins for nagios

Post by gormank »

From the nagios server check the connection to the remote host.
/usr/local/nagios/libexec/check_nrpe -H <remot host address>
From the nagios host, use nmap to check the port is open.
nmap -p 5666 <remot host address>
Post Reply