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> 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