Xymon Mailing List Archive search

Customize conn/ping time interval

list Ryan Jay B. Lapuz
Thu, 12 Jul 2007 07:51:44 +0800
Message-Id: <077d01c7c416$6fc89750$user-9d17b3cf1d05@xymon.invalid>

RE: [hobbit] Customize conn/ping time intervalThank you very much!
  ----- 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