Xymon Mailing List Archive search

trigger an alert from the response time of a network service

list Scot Kreienkamp
Fri, 14 Oct 2011 20:34:21 +0000
Message-Id: <user-74ae36c5599b@xymon.invalid>

Tried that today also, no joy.

Scot Kreienkamp
user-462cf0b6d846@xymon.invalid


-----Original Message-----
From: Root, Paul [mailto:user-76fdb6883669@xymon.invalid] 
Sent: Friday, October 14, 2011 12:09 PM
To: Scot Kreienkamp; Henrik Størner; xymon at xymon.com
Subject: RE: [Xymon] trigger an alert from the response time of a network service

Take the space out from in front of the > as well. Would be my guess.

Paul Root    - Engineer III
Managed Services Systems - CenturyLink

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On
Behalf Of Scot Kreienkamp
Sent: Friday, October 14, 2011 10:46 AM
To: Henrik Størner; xymon at xymon.com
Subject: Re: [Xymon] trigger an alert from the response time of a
network service

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
user-462cf0b6d846@xymon.invalid


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

This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.