[Xymon] Preventing Purple - Periodical Checks

Michael Short mshort at corelogic.com
Mon Sep 22 22:09:20 CEST 2014


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: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300

On Mon, Sep 22, 2014 at 3:55 PM, Tres Finocchiaro <tres.finocchiaro at gmail.com<mailto:tres.finocchiaro at gmail.com>> 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



- Tres.Finocchiaro at gmail.com<mailto:Tres.Finocchiaro at gmail.com>

_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon

****************************************************************************************** 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140922/fae8c502/attachment.html>


More information about the Xymon mailing list