Problem with check_by_ssh

Marc Powell marc at ena.com
Fri Feb 5 16:57:53 CET 2010


On Feb 5, 2010, at 9:42 AM, mirko stefanelli wrote:

> Hi,
> 
> yes if I doing it from the CLI as Nagios User is work fine.
> 
> Here:
> 
> Command definition:
> 
> # 'check_tablespace' command definition_
> define command{
>         command_name    check_tablespace
>         command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "/usr/local/nagios/libexec/check_tablespace $ARG1$ $ARG2$ $ARG3$ $ARG4$"


Does it/can it take longer than 10 seconds to run the check_tablespace command? If so, you need to adjust the service_check_timeout value in nagios.cfg if you haven't already done so. You'll probably also want to verify that the check_tablespace command itself doesn't have a built-in timeout.

--
Marc


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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