[Xymon] External scripts thresholds via hobbit-clients.cfg
Scot Kreienkamp
SKreien at la-z-boy.com
Wed Oct 19 16:56:49 CEST 2011
OK, I'm completely stumped on this one, and very Frustrated.
Here's my line:
DS Users cmrtgusers.rrd:ds0 >3 COLOR=red "TEXT=Exceeding 30 logged in users"
The last value from the rrd was 35, so the line should be hit, but I get nothing. I added debug to all the modules, I've tried several names for the column, I even linked the rrd to another name because it had a dash in the middle thinking the parser might not like that. Still nothing. I also then removed the rrd completely, hoping that I would at least get a line in one of the logfiles indicating a missing rrd. I get NOTHING no matter what I do. What am I doing wrong??? HELP!
Scot Kreienkamp
skreien at la-z-boy.com
From: Ralph Mitchell [mailto:ralphmitchell at gmail.com]
Sent: Wednesday, October 19, 2011 7:55 AM
To: Jeremy Laidman
Cc: Scot Kreienkamp; xymon at xymon.com
Subject: Re: [Xymon] External scripts thresholds via hobbit-clients.cfg
On Wed, Oct 19, 2011 at 1:15 AM, Jeremy Laidman <jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>> wrote:
On Wed, Oct 19, 2011 at 12:34 PM, Scot Kreienkamp <SKreien at la-z-boy.com<mailto: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
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111019/d9b20e55/attachment.html>
More information about the Xymon
mailing list