Xymon Mailing List Archive search

Customize conn/ping time interval

list Johann Eggers
Wed, 11 Jul 2007 22:29:52 +0200
Message-Id: <user-40d4fa9859e4@xymon.invalid>

Just for the case that I got you wrong...

You can set the frequency of the bbnet-test by changing INTERVAL=5m to a lower value...


-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid]
Sent: Wed 7/11/2007 1:38 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Customize conn/ping time interval
 
Hi,

 
You can change the --timeout in your hobbitlaunch.cfg for the bbnet
section. From the man-page:

 
--timeout=N

Determines the timeout (in seconds) for each service that is tested. For
TCP tests (those from BBNETSVCS), if the connection to the service does
not succeed within N seconds, the service is reported as being down. For
HTTP tests, this is the absolute limit for the entire request to the
webserver (the time needed to connect to the server, plus the time it
takes the server to respond to the request). Default: 10 seconds

 
Example:

 
[bbnet]

        ENVFILE /opt/hobbit/server/etc/hobbitserver.cfg

        NEEDS hobbitd

        CMD bbtest-net --report --ping --checkresponse --timeout=20

        LOGFILE $BBSERVERLOGS/bb-network.log

        INTERVAL 5m

 
Johann

 
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid] 
Sent: Mittwoch, 11. Juli 2007 12:46
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Customize conn/ping time interval

 
Good day!

 
I already set some services to monitor on my hobbit server. But I
noticed that the default conn service check is too long. Is there a way
to customize the time interval of conn service check?

 
Thanks in advance

 
Ryan