On Wed, Oct 19, 2011 at 1:15 AM, Jeremy Laidman <user-71895fb2e44c@xymon.invalid>wrote:
On Wed, Oct 19, 2011 at 12:34 PM, Scot Kreienkamp <user-462cf0b6d846@xymon.invalid>
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.
Does that create a new column called "ntp", or do you already have the "ntp"
column and the DS check simply changes its colour??
Ralph Mitchell