<div dir="ltr"><div class="gmail_extra">(It's generally considered bad form to hijack a thread by changing topic mid-way.  I'm posting my response with a new subject, so that the original thread can continue undiluted.)</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">On 3 October 2013 09:48, Adam Goryachev <span dir="ltr"><<a href="mailto:mailinglists@websitemanagers.com.au" target="_blank">mailinglists@websitemanagers.com.au</a>></span> wrote:<br>

</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">PS, not relevant to this entire discussion, but one thing I've been battling with is trying to define a "normal" status. eg, I can set the CPU load to 5, which normally means the status is always green, but one day the cpu load might be 4 at 2pm, and that is abnormal, even though a load of 4 at 2am is normal. Does anyone use/do anything to automatically watch the current values, and learn what range is "normal" on this day/time? For me, this especially applies to counters related to network performance, disk performance, etc.</blockquote>

</div><br>RRDs can handle this using Holt-Winters aberrant behaviour detection.  I set this up once on an MRTG system, but as yet have not tried to get it working for Xymon-derived RRD files.  On my list of things to do.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I think it's fairly easy to add the 6 extra consolidation functions (HWPREDICT, SEASONAL, etc) into the RRD file using rrdtune, or add them to the rrddefinitions.cfg file and recreate the RRD files.  Then you just need to adjust the graph definitions to show the expected ranges.  I think the tricky part is to specify the consolidation function parameters required to produce useful predications for "normal" based on the nature of the data being collected.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">The seminal paper (AFAIK) on this was written by Brutlag and presented at the Usenix "LISA 2000" sysadmin conference.  It has example graphs and RRDtool definitions to do this, as well as a complete explanation (deeper than I can grok) of how it all works.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://www.usenix.org/legacy/events/lisa00/full_papers/brutlag/brutlag_html/" rel="noreferrer">https://www.usenix.org/legacy/events/lisa00/full_papers/brutlag/brutlag_html/</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, people have described their adventures previously on The List.  For example:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://lists.xymon.com/pipermail/xymon/2012-October/035810.html" rel="noreferrer">http://lists.xymon.com/pipermail/xymon/2012-October/035810.html</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you can get this going to your satisfaction, perhaps you could document what you did and share it with us.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Cheers</div><div class="gmail_extra">Jeremy</div><div class="gmail_extra"><br></div></div>