Xymon Mailing List Archive search

Changing the Test interval

list Trent Melcher
Fri, 16 Feb 2007 13:50:58 -0600
Message-Id: <user-a3ea8544085f@xymon.invalid>

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, February 16, 2007 3:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Changing the Test interval

On Thu, Feb 15, 2007 at 02:49:51PM -0600, Trent Melcher wrote:
Is there a way to change the interval for either the content or http > tests  to 1 minute instead of the default 5 as everything else?
Change the INTERVAL setting for the [bbnet] task in hobbitlaunch.cfg
I was hoping I didn't have to do this

Could it be possible in the next release to have the option of testing
different network tests at different intervals based on test or server?
I would still like to test pings and most other net tests at 5 minute
intervals but content or http I would like to be able to specify the
interval per server.

Trent
Note that you should not do this if you have lots of systems that you poll, since it's possible that it just won't be able to run all of the network tests once a minute. In that case, you should pick out the important ones that you do want to run every minute, flag them with a "NET:1minutepoll" and setup an additional [bbnet2] task that runs a script like this:

    #!/bin/sh

    BBLOCATION="1minutepoll"
    export BBLOCATION
    bbtest-net --ping --checkresponse 
    exit 0


Regards,
Henrik