[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


I've defined the command:

define command{
        command_name    check-unix-disk
/usr/lib/nagios/plugins/check_by_ssh -i

'/usr/lib/nagios/plugins/check_disk -w $ARG2$% -c
$ARG3$% -p 


It's called from services.cfg with:


>From root shell, the command

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

-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 

More information about the Help mailing list