Xymon Mailing List Archive search

Customize conn/ping time interval

4 messages in this thread

list Ryan Jay B. Lapuz · Wed, 11 Jul 2007 18:46:03 +0800 ·
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
list Johann Eggers · Wed, 11 Jul 2007 13:38:58 +0200 ·
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
quoted from Ryan Jay B. Lapuz

 
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
list Johann Eggers · Wed, 11 Jul 2007 22:29:52 +0200 ·
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...
quoted from Johann Eggers


-----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
list Ryan Jay B. Lapuz · Thu, 12 Jul 2007 07:51:44 +0800 ·
RE: [hobbit] Customize conn/ping time intervalThank you very much!
quoted from Johann Eggers
  ----- Original Message ----- 
  From: Johann Eggers 
  To: user-ae9b8668bcde@xymon.invalid 
  Sent: Thursday, July 12, 2007 4:29 AM
  Subject: RE: [hobbit] Customize conn/ping time interval


  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