On Wed, Oct 19, 2011 at 12:34 PM, Scot Kreienkamp <SKreien at la-z-boy.com> wrote:
Anyone have a working example? I am still unable to get this to work.
From analysis.cfg:
HOST=%^ntp\d DS ntp ntpstat.rrd:offsetms >10 COLOR=red "TEXT=NTP offset &Vms higher than &Ums" DS ntp ntpstat.rrd:offsetms >5 COLOR=yellow "TEXT=NTP offset &Vms higher than &Ums" DS ntp ntpstat.rrd:offsetms <-10 COLOR=red "TEXT=NTP offset &Vms lower than &Lms" DS ntp ntpstat.rrd:offsetms <-5 COLOR=yellow "TEXT=NTP offset &Vms lower than &Lms"
This monitors NTP offset and alerts on exceeding the thresholds and sends the status to the "ntp" status page. I enabled this only today, and while it generates alerts on exceeding the threshold, it hasn't been "bedded in" so there might be faults with how I've used this.
Note that the doco (man analysis.cfg) shows the correct format but misses the column in the example.
Cheers Jeremy