<div dir="ltr">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.<div><br></div><div>Xymon is specifically designed (AFAIK) to receive regular data feeds, not intermittent ones.</div></div><div class="gmail_extra"><br clear="all"><div><div><br></div>-- <div><b>Steve Coile<br></b>Senior Network and Systems Engineer, <a href="http://www.mcclatchyinteractive.com/" target="_blank">McClatchy Interactive</a><div><font size="1">Office: 919-861-1247 | Mobile: 919-622-5369 | Fax: 919-861-1300</font></div></div></div>
<br><div class="gmail_quote">On Mon, Sep 22, 2014 at 3:55 PM, Tres Finocchiaro <span dir="ltr"><<a href="mailto:tres.finocchiaro@gmail.com" target="_blank">tres.finocchiaro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I have a custom service check that is only done during certain times of the day and only on certain days of the week.</div><div><br></div><div>We use crontab and a shell script to generate the output and pipe it into the front-end using the xymon executable.</div><div><br></div><div>xymon 127.0.0.1 "status $server.$service $green|$red|$yellow $timestamp,$description"<br></div><div><br></div><div>This check works terrific when it runs, but in between checks it goes purple.</div><div><br></div><div>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?</div><div><br></div><div>-Tres</div><div><br></div><div><br></div><br clear="all"><div><div dir="ltr">- <a href="mailto:Tres.Finocchiaro@gmail.com" target="_blank">Tres.Finocchiaro@gmail.com</a></div></div>
</div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>