Increase check_tcp timeout value?

Sxan sxanrr at yahoo.com
Tue Dec 27 17:54:53 CET 2005


Excellent, thank you very much. I completely forgot to just check the command! 

Thibault Genessay <tgenessay at aliadis.fr> wrote:  Hi

> So instead of setting this host to be in scheduled downtime for that 
> hour or so every day, I'd like to just increase the socket timeout 
> value on the command.

Just use the -t  parameter in your command definition. 
For instance:
define  command {
        command_name    check_tcp_30s
        command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -t 30 -p $ARG1$
        }

Cheers

-- 
Thibault GENESSAY
ALIADIS
www.aliadis.fr
Tel.  0870 723 724
Fax   04 72 13 90 40 




		
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051227/074cbdb6/attachment.html>


More information about the Users mailing list