plugins check_by_ssh not work

Maged Mahmoud maged.shaker at valuesys.net
Tue May 15 15:15:47 CEST 2007


Dear all
when use this check_by_ssh plugin with nagios to check disk on remote
servers as this example
http://www.nagios-wiki.de/doku.php/nagios/plugins/check_by_ssh , the
nagios log and web console display this error 
check_by_ssh

UNKNOWN 05-15-2007 18:40:37  0d 3h 33m 45s 3/3 Remote command execution
failed: Host key verification failed.  



the directive in the commands.cfg
define command{
        command_name    check_by_ssh_local_disk
        command_line $USER1$/check_by_ssh -l root -H $HOSTADDRESS$ -C
'/tmp/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$'

and this directive in services.cfg

define service{
        host_name                            oes-server.valuesys.lan
        service_description                check_by_ssh
        is_volatile                              0
        check_period                         24x7
        max_check_attempts             3
        normal_check_interval            5
        retry_check_interval               1
        contact_groups                      network_team
        notification_interval               120
        notification_period                 24x7
        notification_options                c,r
        check_command                   check_by_ssh_local_disk!10%!5%!/
        }

Thanks
Armagdon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070515/e0e46e0a/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list