[Xymon] trigger an alert from the response time of a network service
Scot Kreienkamp
SKreien at la-z-boy.com
Fri Oct 14 17:45:59 CEST 2011
Hi Henrik, thanks for the help.
OK, I changed it to this:
DS conn cmrtgusers.connect-mn.rrd:ds0 >3 COLOR=yellow TEXT="Exceeding 30 logged in users"
So there is no space between the greater than and 30, then dropped the 30 down to three to make sure it would get hit. Still nothing. Is there a debug that I can turn on and look into it further?
Scot Kreienkamp
Senior Systems Engineer
skreien at la-z-boy.com
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Henrik Størner
Sent: Thursday, October 13, 2011 4:59 PM
To: xymon at xymon.com
Subject: Re: [Xymon] trigger an alert from the response time of a network service
On 13-10-2011 19:45, Scot Kreienkamp wrote:
> Good timing, I've been playing with this for a while and haven't been
> able to get it to work.
>
> Here's my analysis.cfg entry:
>
> HOST=connect-mn.localhost DS trends cmrtgusers.connect-mn.rrd:ds0 > 30 COLOR=yellow TEXT="Exceeding 30 logged in users"
>
> I was sending it to trends because the rrd that I want to alert on
> doesn't have its own test. I also tried conn and another one that
> doesn't exist. The cmrtgusers.connect-mn.rrd exists in
> /home/hobbit/data/rrd/connect-mn.localhost, and I am getting a graph
> on the trends page for it with data.
The "trends" column cannot change color, it will always be green.
I am not sure, but I think you shouldn't have any space between the '>'
and '30'. It would be pretty bad for the parser to trip on that, so if
that is the problem please let me know so I can look at improving it.
Regards,
Henrik
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list