Xymon Mailing List Archive search

Alerts based on rrd graphs

4 messages in this thread

list Kevin King · Wed, 12 Dec 2012 09:43:26 -0500 ·
Anyone doing any alerting on graphed rrd data?  Just looking for some sample
of what you might be doing.

 
-Kevin
list Kevin King · Wed, 12 Dec 2012 09:55:58 -0500 ·
Anyone doing any alerting on graphed rrd data?  Just looking for some sample
of what you might be doing.

 
-Kevin
list Mike Burger · Wed, 12 Dec 2012 11:40:30 -0500 ·
After digging through the old mailing list archives, I've got CPU
utilization (idle) alerting by adding this to the default section of my
analysis.cfg:

 
        DS cpu vmstat.rrd:cpu_idl >=10 COLOR=green "TEXT=CPU Idle load
Normal at &V%"

        DS cpu vmstat.rrd:cpu_idl <10 COLOR=yellow "TEXT=CPU Idle load
High at &V%"

        DS cpu vmstat.rrd:cpu_idl <=5 COLOR=red "TEXT=CPU Idle load
Critical at &V%"

 
I then have, for one server where I want a yellow alert to go off for
less than 15% CPU idle, added to that host's entry in the analysis.cfg
file.

 
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Kevin King
Sent: Wednesday, December 12, 2012 9:43 AM
To: xymon at xymon.com
Subject: [Xymon] Alerts based on rrd graphs
quoted from Kevin King

 
Anyone doing any alerting on graphed rrd data?  Just looking for some
sample of what you might be doing.

 
-Kevin


CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal law. If you
are not the intended recipient, please contact the sender by reply e-mail,
delete this email and destroy all copies of the message.
list Jeremy Laidman · Thu, 13 Dec 2012 13:13:15 +1100 ·
Yes.  I watch NTP offsets from ntpstat.rrd with the following in
analysis.cfg:

HOST=%^(host1|host2)
        # alert if NTP offset exceeds 10ms
        DS ntp ntpstat.rrd:offsetms >10 COLOR=red "TEXT=NTP offset &Vms is
higher than &Ums"
        DS ntp ntpstat.rrd:offsetms >5 COLOR=yellow "TEXT=NTP offset &Vms
is higher than &Ums"
        DS ntp ntpstat.rrd:offsetms <=5 COLOR=green "TEXT=NTP offset &Vms
is within +/-&Ums"
        DS ntp ntpstat.rrd:offsetms <-10 COLOR=red "TEXT=NTP offset &Vms is
lower than &Lms"
        DS ntp ntpstat.rrd:offsetms <-5 COLOR=yellow "TEXT=NTP offset &Vms
is lower than &Lms"

Also, I do a similar thing for DNS latency, where the graphs are
automatically generated when I add a "dns" test configuration to hosts.cfg:

        # alert if lookups take too long (200ms or 50ms)
        DS dns tcp.dns.rrd:sec >0.05 COLOR=yellow "TEXT=Response time &V
exceeds &U seconds"
        DS dns tcp.dns.rrd:sec >0.2 COLOR=red "TEXT=Response time &V
exceeds &U seconds"

These go into my SLA-type reports to management.

Cheers
Jeremy
quoted from Kevin King


On 13 December 2012 01:55, Kevin King <user-4c6c31ddcab2@xymon.invalid> wrote:
Anyone doing any alerting on graphed rrd data?  Just looking for some
sample of what you might be doing.****

** **

-Kevin****

** **