Page 1 of 1

Not able to configure remote nrpe plugins for nagios

Posted: Thu Aug 18, 2022 7:27 am
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.

Re: Not able to configure remote nrpe plugins for nagios

Posted: Thu Aug 18, 2022 11:30 am
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>