stoufette
01-03-2007, 06:25 PM
Alors voici mes erreurs :
# /usr/lib/nagios/plugins/check_nrpe -H 192.168.16.167 -c /home/nagios/check_size test_quota -p 5666
ERROR: CHECK_NRPE could not complete SSL handshake
# /usr/lib/nagios/plugins/check_nrpe -H 192.168.16.100 -n
CHECH_NRPE : Received 0 bytes of daemon
EN parcourant les différents forums jai trouvé 2 solutions :
1. ouvrir le port 5666
# vi /etc/hosts.allow
nrpe : 192.168.204.131
# netstat -pta return
tcp 0 0 *:5666 *:* LISTEN 2312/nrpe
->MAIS depuis le serveur :
# telnet ip_client 5666 : Connection closed by foreign host.
POURKOI ?
2. vérifier que le mode ssl est activé sur le serveur et le client.
la commande nrpe --help et check-nrpe --help mindique :
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
LE MODE SSL EST-IL ALORS ACTIV2 PARTOUT ? COMMENT LE SAVOIR ?
SI QUELQUN A UNE AUTRE SOLUTION OU BIEN DES ELEMENTS DE REPONSE.....
MERCI DAVANCE
# /usr/lib/nagios/plugins/check_nrpe -H 192.168.16.167 -c /home/nagios/check_size test_quota -p 5666
ERROR: CHECK_NRPE could not complete SSL handshake
# /usr/lib/nagios/plugins/check_nrpe -H 192.168.16.100 -n
CHECH_NRPE : Received 0 bytes of daemon
EN parcourant les différents forums jai trouvé 2 solutions :
1. ouvrir le port 5666
# vi /etc/hosts.allow
nrpe : 192.168.204.131
# netstat -pta return
tcp 0 0 *:5666 *:* LISTEN 2312/nrpe
->MAIS depuis le serveur :
# telnet ip_client 5666 : Connection closed by foreign host.
POURKOI ?
2. vérifier que le mode ssl est activé sur le serveur et le client.
la commande nrpe --help et check-nrpe --help mindique :
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
LE MODE SSL EST-IL ALORS ACTIV2 PARTOUT ? COMMENT LE SAVOIR ?
SI QUELQUN A UNE AUTRE SOLUTION OU BIEN DES ELEMENTS DE REPONSE.....
MERCI DAVANCE