CHECK_NRPE: Error – Could not complete SSL handshake.

1) Installare nagios-nrpe-server
2) verificare che il processio sia avviato con netstat -an | grep nrpe,
3) Lanciare sul server Nagios  /usr/local/nagios/libexec/check_nrpe -H 10.0.0.9

se viene restituito l’errore seguente
CHECK_NRPE: Error – Could not cocmplete SSL handshake.

4) editare il file di configurazione di nrpe sul nodo da monitorare:

vi /etc/nagios/nrpe.cfg

modificare questa riga –> allowed_hosts=127.0.0.1
così –> allowed_hosts=10.0.0.3 (ip del mio mio server Nagios)

5) riavvio nrpe:

/etc/init.d/nagios-nrpe-server restart

6) Riprovare:

root@monitoraggio:~# /usr/local/nagios/libexec/check_nrpe -H 10.0.0.3
NRPE v2.12

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>