<div dir="ltr"><div>You'll want to set the lifetime so that it spans several reporting intervals.  The default interval is 5 minutes, with a lifetime of 30 minutes, so that multiple reports can be missed before it shows purple dots.  With a 60 minute interval, you should set the lifetime to at least 120:   status+120<br><br></div>Ralph Mitchell<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 4:51 PM, Scot Kreienkamp <span dir="ltr"><<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Xymon expects results every 5-10 minutes or the test will turn purple to indicate no report has been received.  If you really want it to run every 60 minutes you need to put something to indicate that in the test.  In the text sent back to the server you have to put something like status+60m or something like that.  Look in the xymon man pages for the exact syntax.<br>
<br>
<br>
Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate<br>
One La-Z-Boy Drive | Monroe, Michigan 48162 |  Office: <a href="tel:734-384-6403" value="+17343846403">734-384-6403</a> |  |  Mobile: <a href="tel:7349151444" value="+17349151444">7349151444</a> | Email: <a href="mailto:Scot.Kreienkamp@la-z-boy.com">Scot.Kreienkamp@la-z-boy.com</a><br>
<div><div class="h5">> -----Original Message-----<br>
> From: Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a>] On Behalf Of Kim<br>
> Johansen<br>
> Sent: Friday, July 10, 2015 4:34 PM<br>
> To: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> Subject: [Xymon] Xymon server report purple because custom client script<br>
> do not report often enough<br>
><br>
> Hey,<br>
><br>
> I have made a script which count how many times a string appears in a<br>
> log file. Nothing special. And it works fine.<br>
><br>
> Doing the testing of this script I made the interval to 1m, just so I<br>
> did not have to wait to long to test changes.<br>
><br>
> Now that I finish with the script I want the interval, configured in<br>
> clientlaunch.cfg, to run every 60m, so I have changed it in<br>
> clientlaunch.cfg.<br>
><br>
> But that result in the xymon server is complaining about stop reporting<br>
> from the client on this custom check.<br>
><br>
> I have tried to delete the test status from the server, but with no luck.<br>
><br>
> Is there something I have misunderstood and is there a way to fix it?<br>
><br>
> Clientlaunch.cfg<br>
> [razor-count]<br>
>       ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>
>       CMD $HOBBITCLIENTHOME/ext/razor-report-count.sh<br>
>       LOGFILE /var/log/hobbit/razor-report-count.log<br>
>       INTERVAL 60m<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
> Kim.<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" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br>
</div></div>This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>