[Xymon] External scripts thresholds via hobbit-clients.cfg

Ralph Mitchell ralphmitchell at gmail.com
Wed Oct 19 13:54:40 CEST 2011


On Wed, Oct 19, 2011 at 1:15 AM, Jeremy Laidman <jlaidman at rebel-it.com.au>wrote:

> 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.


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111019/e65b0055/attachment.html>


More information about the Xymon mailing list