[xymon] Problem with a custom test
Vernon Everett
everett.vernon at gmail.com
Mon Nov 22 02:34:41 CET 2010
Hi Colin
You need to explicitly set the "lifetime" of the test result, which defaults
to 30 minutes.
Search for LIFETIME in bb man page.
"The LIFETIME defines how long this status is valid after being received by
the Xymon server. The default is 30 minutes, but you can set any period you
like. E.g. for a custom test that runs once an hour, you will want to set
this to at least 60 minutes - otherwise the status will go purple after 30
minutes. It is a good idea to set the LIFETIME to slightly more than the
interval between your tests, to allow for variations in the time it takes
your test to complete. The LIFETIME is in minutes, unless you add an "h"
(hours), "d" (days) or "w" (weeks) immediately after the number, e.g.
"status+5h" for a status that is valid for 5 hours. "
Regards
Vernon
On Mon, Nov 22, 2010 at 8:51 AM, Colin Coe <colin.coe at gmail.com> wrote:
> Hi all
>
> I have this entry in clientlaunch.cfg on all my Xymon clients:
> ---
> [rhncfg]
> ENVFILE /etc/xymon/client/hobbitclient.cfg
> CMD $HOBBITCLIENTHOME/ext/rhncfg.sh
> INTERVAL 60m
> ---
>
> The problem I'm having is the client status for this test turns purple
> after approx 30 minutes. I know the script is working correctly. If
> I reduce INTERVAL to 30 minutes or under, the test doesn't go purple,
> but the remote server administrators are not happy with the amount of
> connections this test generates so 60m is not minimum I'm allowed.
>
> Any ideas?
>
> CC
>
> --
> RHCE#805007969328369
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101122/047011e5/attachment.html>
More information about the Xymon
mailing list