<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Ian,</p>
<p><br>
</p>
<p>You can perform this in a nice way using clientlaunch.cfg file.
You have an "INTERVAL" variable that is intended for this purpose.
No need to harcode this in your extension ;)<br>
</p>
<div class="moz-cite-prefix">Le 22/01/2020 à 16:37, Ian Diddams via
Xymon a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:mailman.24.1579709257.776.xymon@xymon.com"><br>
<fieldset class="mimeAttachmentHeader"><legend
class="mimeAttachmentHeaderName">ForwardedMessage.eml</legend></fieldset>
<table class="header-part1" width="100%" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Sujet :
</div>
configuring status+ for specific alerts non-purple
interval</td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">De :
</div>
Ian Diddams <a class="moz-txt-link-rfc2396E" href="mailto:didds3@yahoo.co.uk"><didds3@yahoo.co.uk></a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Date :
</div>
22/01/2020 à 16:37</td>
</tr>
</tbody>
</table>
<table class="header-part2" width="100%" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Pour :
</div>
Xymon MailingList <a class="moz-txt-link-rfc2396E" href="mailto:xymon@xymon.com"><xymon@xymon.com></a></td>
</tr>
</tbody>
</table>
<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div class="moz-text-html" lang="x-unicode">
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue,
Helvetica, Arial, sans-serif;font-size:10px;">
<div dir="ltr" data-setdir="false">i have a hobbt/xymon server
with stabdard default 30 minute <span>STATUSLIFETIME<br>
<br>
</span>
<div dir="ltr" data-setdir="false"><span>However I have a
one specific alert/test that actually only needs to run
once a day eg 0001. So that will of course go purple
after 30 minutes cos the next run wont be for another
23.5 hours yet.<br>
<br>
Ive gleaned through googling that it seems possible to
include a status+ parameter on the actual script
"reporting" line in the script.<br>
<br>
eg if the current command is<br>
<br>
</span>
<div><span><span>$XYMON $XYMSRV "status $MACHINE.$TEST
$COL2 `date` `cat /tmp/OUTPUT`"</span></span></div>
<div><span><span><br>
</span></span></div>
<div dir="ltr" data-setdir="false"><span><span>there is a
way to add onto that line that only foir this alert
the "purple threshold time" shoud be eg 25 hours.<br>
<br>
</span></span>
<div dir="ltr" data-setdir="false"><span><span>is t</span></span>hat
simply then<br>
</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">
<div><span>$XYMON $XYMSRV "<b>status+25h</b>
$MACHINE.$TEST $COL2 `date` `cat /tmp/OUTPUT`"</span></div>
<div><span><br>
</span></div>
<div><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>cheers</span></div>
<div dir="ltr" data-setdir="false"><span><br>
</span></div>
<div dir="ltr" data-setdir="false"><span>ian<br>
</span></div>
<span><span></span></span></div>
</div>
<div><span></span></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre class="moz-quote-pre" wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com" moz-do-not-send="true">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon" moz-do-not-send="true">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</div>
</blockquote>
</body>
</html>