Xymon Mailing List Archive search

Preventing Purple - Periodical Checks

list Paul Root
Mon, 22 Sep 2014 20:06:58 +0000
Message-Id: <user-40fbdad1117f@xymon.invalid>

Set the time the status is good for

Xymon 127.0.0.1 “status+1d blah blah blah”

Day, hour, minute, week, I believe are all valid. Check the man page of xymon.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Tres Finocchiaro
Sent: Monday, September 22, 2014 2:55 PM
To: xymon at xymon.com
Subject: [Xymon] Preventing Purple - Periodical Checks

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>