Xymon Mailing List Archive search

http-test timeout

list Johann Eggers
Thu, 18 Dec 2008 15:13:24 +0100
Message-Id: <user-f0eb06c6227e@xymon.invalid>

-----Original Message-----
From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid]
Sent: Donnerstag, 18. Dezember 2008 14:27
To: hobbit
Subject: [hobbit] http-test timeout

Dear All,

is there a way to change the timeout for http-tests. I am testing my
webminserver and often the responsetime is between 10 and 13 seconds.
The
http-test is very often red. I would like to change timeout to 13
seconds.
You can use the --timeout=N option for the bbtest-net module.

E.g something similar like this in the hobbitlaunch.cfg:

[bbnet]
        ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg
        NEEDS hobbitd
        CMD bbtest-net --report --ping --checkresponse --timeout=20 
	  --cmdtimeout=20
        LOGFILE $BBSERVERLOGS/bb-network.log
        INTERVAL 5m

Regards
Johann