I finally had time to look around for this - it looks like the 30 minute default is hard-wired into the code.<br><br>xymon-4.3.5/xymond/xymond.c, line 1210:<br><br>          int validity = 30;       /* validity is counted in minutes */<br>
<br>then at lines 1239-1241:<br><br>          if (strncmp(msg, "status+", 7) == 0) {<br>                validity = durationvalue(msg+7);<br>          }<br><br>So, an incoming message is given a validity of 30 minutes, unless set otherwise by "status+X".<br>
<br>I just tested that by changing line 1210 to "validity=5", compiled, installed, fired it up, sent a test status.  Five minutes later, I get a purple dot for that test.<br><br>Ralph Mitchell<br><br><br><div class="gmail_quote">
On Mon, Oct 3, 2011 at 9:35 AM, Elizabeth Schwartz <span dir="ltr"><<a href="mailto:betsy.schwartz@gmail.com">betsy.schwartz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
How can I change xymon to alert after a server has failed to report<br>
for 15 minutes? We're finding that 30 minutes is too long a delay in<br>
the production environment.<br>
<br>
I see where you set purple delay for network tests and I see where you<br>
can return it for individual tests, and I see where you can disable<br>
purple. Is this a code change?<br>
<br>
thanks Betsy<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>
</blockquote></div><br>