[Nagiosplug-help] check_by_ssh - (Service Check Timed Out)

Tim Sheets dolfantimmy at yahoo.com
Fri Nov 2 15:48:01 CET 2012


I'm pulling my hair out over this one.

If I execute the following from the command line....

./check_by_ssh -t 60 -H 10.171.6.75 -C "~/bin/check_disk -t 60 -w 20% -c 10%"

I get a perfect response.

But, when the following command in commands.cfg is executed, it always returns Service Check Timed Out

define command{
        command_name    check_remote_disk
        command_line    $USER1$/check_by_ssh -t 60 -H $HOSTADDRESS$ -C "~/bin/check_disk -t 60 -w $ARG1$ -c $ARG2$"
        }


Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20121102/46472e6d/attachment.html>


More information about the Help mailing list