Xymon Mailing List Archive search

Preventing Purple - Periodical Checks

list Michael Short
Mon, 22 Sep 2014 20:09:20 +0000
Message-Id: <user-2b2b336a277c@xymon.invalid>

Under BB, I would put in a "status+$delay"  where the $delay was just a bit longer than needed to get me to the next check time.
For example, if a check was to run once a day, I'd put in a delay of 25 hrs.  this way, I would at least get a Purple light if it didn't run as often as I expected.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Coile
Sent: Monday, September 22, 2014 1:02 PM
To: Tres Finocchiaro
Cc: xymon at xymon.com
Subject: Re: [Xymon] Preventing Purple - Periodical Checks

I think the "right" way would be to put the scheduling logic in the script, to have it always report green off-hours, rather than try to tell Xymon to ignore missing reports at certain times.

Xymon is specifically designed (AFAIK) to receive regular data feeds, not intermittent ones.


--
Steve Coile
Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>;
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX

On Mon, Sep 22, 2014 at 3:55 PM, Tres Finocchiaro <user-88678e65ced1@xymon.invalid<mailto:user-88678e65ced1@xymon.invalid>> wrote:
I have a custom service check that is only done during certain times of the day and only on certain days of the week.

We use crontab and a shell script to generate the output and pipe it into the front-end using the xymon executable.

xymon 127.0.0.1 "status $server.$service $green|$red|$yellow $timestamp,$description"

This check works terrific when it runs, but in between checks it goes purple.

Without creating a fake service check in between each scheduled cron entry, what's the quickest way to configure that this check goes purple less often?  (or if that's not possible, never go purple?)  How are others handling occasional or daily service checks?  Are you hard-coding the times into the script itself?

-Tres


- user-88678e65ced1@xymon.invalid<mailto:user-88678e65ced1@xymon.invalid>


****************************************************************************************** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by  replying to the message and delete the original message and any copies immediately thereafter. 
Thank you. ****************************************************************************************** CLLD