[Nagiosplug-help] Error " Host key verification failed" with check_by_ssh (nagios-plugins 1.3.1) 1.9

Javier Núñez ronvix at yahoo.es
Tue May 17 05:24:20 CEST 2005


Hello.

I've defined the command:

define command{
        command_name    check-unix-disk
        command_line   
/usr/lib/nagios/plugins/check_by_ssh -i
/var/log/nagios/.ssh/id_dsa 

-l $ARG1$ -H $HOSTADDRESS$ -C
'/usr/lib/nagios/plugins/check_disk -w $ARG2$% -c
$ARG3$% -p 

/'
        } 


It's called from services.cfg with:

check-unix-disk!root!20!10


>From root shell, the command

/usr/lib/nagios/plugins/check_by_ssh -i
/var/log/nagios/.ssh/id_dsa -l root -H 252.145.1.18 

-C '/usr/lib/nagios/plugins/check_disk -w 20% -c 10%
-p /'

is succesfull but the nagios web interface shows "
Host key verification failed" in the 

status information field when checking the service.

Nagios is running from nagios user and the file id_dsa
is accessible:

-rw-------  1 nagios nagios  668 May 16 17:53 id_dsa

Any idea?

Thanks for help.


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es




More information about the Help mailing list