<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>When you send your status from your test did you include a delay?  Something like status+7d?  Otherwise, the test will default to 5m and go purple after whatever delay the server is configured to do after it hasn't received an update in that time (pretty
 sure it defaults to 30m).  You'll also want to add "INTERVAL 7d" to your task config.<br>
</p>
<p><br>
</p>
<p>=G=<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of Richard Jones <rich@corporationpop.co.uk><br>
<b>Sent:</b> Tuesday, November 14, 2017 5:42 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] Custom plugin Interval/Crondate turning purple quickly</font>
<div> </div>
</div>
<div>
<p><font size="3" face="Arial" color="#FF0000"><b><i>EXTERNAL</i></b> </font></p>
<div>
<div dir="ltr">
<div>I have a custom plugin that is set to run every Tuesday at 10am on the server itself, that all runs fine and as expected, however it seems that shortly after the task has reported back to Xymon (20/30 mins) the task turns purple. I was expecting the status
 to stay green (or red etc) until the next run time. Any ideas why this is happening?</div>
<div><br>
</div>
<div>Running Xymon 4.3.28 and the server side tasks.cfg looks like this:</div>
<div><br>
</div>
<div>
<div>[sometask]</div>
<div>        ENVFILE /usr/local/xymon/server/etc/xymonserver.cfg</div>
<div>        CMD /usr/local/xymon/server/ext/sometask.sh</div>
<div>        LOGFILE $XYMONSERVERLOGS/sometask.log</div>
<div>        CRONDATE 0 10 * * 2</div>
</div>
<div><br>
</div>
<div>This did happen last week when I originally implemented the task, but I figured it was due to manually running xymoncmd... though that doesn't seem to be the case.</div>
<div><br>
</div>
<div>Cheers</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>