[Xymon] Preventing Purple - Periodical Checks
Root, Paul T
Paul.Root at CenturyLink.com
Tue Sep 23 03:53:01 CEST 2014
Actually, you’d want it to report what the test is already set as.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Steve Coile
Sent: Monday, September 22, 2014 3:01 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140923/6a9f2059/attachment.html>
More information about the Xymon
mailing list