[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Problem with a custom test
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Problem with a custom test
- From: Colin Coe <colin.coe (at) gmail.com>
- Date: Mon, 22 Nov 2010 09:39:29 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ECdJprScoSwu2ENlZGv1J/bSiz+YbPiv4DPqttOEsh0=; b=n5ShmY9EEQhPD6DrZ0SlmgLD9g2RTrj+9hid/DuTECZvdCaDEhvVe7nf7xenqsga9n hCoLZsNnOdifzMe0TLLvFBNfBTNbwkEwQw4sRshfpIOYRt2rHy/wUdGVEFgRZEh/4Xe9 yT5fzalSRYEmolJWJ/GJ1uZJcpe6PC9zwR6RI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=OkbF1lSeNGOV53IJqvksL6Bfz81hK20YTQzMQFV8Vjl0FZR8NTMpc4215wjkPsrdbx QjHYHYGGkcSfWT6yuO1/okvS9hyjecmYRPGzlW/BYvQqQTRNkV8Fp31LfYsy6pXoqIrO wdW4+Ke1ppVC4RticB+RJunddQO+xDAtw9QVc=
- References: <AANLkTikZej9+w3wDzE1am=sU2sr1iPtPUqEyVL-nGNUP (at) mail.gmail.com> <AANLkTik-h74jFYiZMf87+UXH+bAUpu6Bb3F9CRYKDjO7 (at) mail.gmail.com>
Many thanks Vernon
CC
On Mon, Nov 22, 2010 at 9:34 AM, Vernon Everett
<everett.vernon (at) gmail.com> wrote:
> 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
>>
>>
>
>
--
RHCE#805007969328369