<div class="gmail_quote">On Wed, Oct 19, 2011 at 1:15 AM, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Oct 19, 2011 at 12:34 PM, Scot Kreienkamp <<a href="mailto:SKreien@la-z-boy.com">SKreien@la-z-boy.com</a>> wrote:<br>
> Anyone have a working example?  I am still unable to get this to work.<br>
<br>
</div>From analysis.cfg:<br>
<br>
HOST=%^ntp\d<br>
    DS ntp ntpstat.rrd:offsetms >10 COLOR=red "TEXT=NTP offset &Vms<br>
higher than &Ums"<br>
    DS ntp ntpstat.rrd:offsetms >5 COLOR=yellow "TEXT=NTP offset &Vms<br>
higher than &Ums"<br>
    DS ntp ntpstat.rrd:offsetms <-10 COLOR=red "TEXT=NTP offset &Vms<br>
lower than &Lms"<br>
    DS ntp ntpstat.rrd:offsetms <-5 COLOR=yellow "TEXT=NTP offset &Vms<br>
lower than &Lms"<br>
<br>
This monitors NTP offset and alerts on exceeding the thresholds and<br>
sends the status to the "ntp" status page.  I enabled this only today,<br>
and while it generates alerts on exceeding the threshold, it hasn't<br>
been "bedded in" so there might be faults with how I've used this.<br>
<br>
Note that the doco (man analysis.cfg) shows the correct format but<br>
misses the column in the example.</blockquote><div><br></div><div>Does that create a new column called "ntp", or do you already have the "ntp" column and the DS check simply changes its colour??</div>
<div><br></div><div>Ralph Mitchell </div></div>