[Xymon] Problem with alerts on a DS value

shea, greg greg.shea at emc.com
Sun Sep 30 20:01:13 CEST 2012


Hi all,

Xymon 4.3.7, testing cpu load from vmstat rrd file works great except for the actual alert.
I was expecting the string 'CPU Idle load Normal at &V%" HOST=%^hostprd0' to appear in the alert
but it doesn't.  The Subject line in email shows the correct color (YELLOW), but the body says green.
The text string doesn't show up in BBALPHAMSG.  Any suggestions?

analysis.cfg
        # Use in RRD dataset from vmstat
        DS cpu vmstat.rrd:cpu_idl >=10 COLOR=green "TEXT=CPU Idle load Normal at &V%" HOST=%^hostprd0.*
        DS cpu vmstat.rrd:cpu_idl <10 COLOR=yellow "TEXT=CPU Idle load High at &V%" HOST=%^hostprd0.*
        DS cpu vmstat.rrd:cpu_idl <=5 COLOR=red "TEXT=CPU Idle load Critical at &V%" HOST=%^hostprd0.*

alerts.cfg
HOST=%^hostprd0.*
        MAIL greg.shea at emc.com<mailto:greg.shea at emc.com> REPEAT=30m RECOVERED SERVICE=cpu COLOR=red,yellow

email notification

-----Original Message-----
From: Xymon Admin Dur1 Account [mailto:xymon at emc.com]
Sent: Thursday, September 27, 2012 4:45 PM
To: shea, greg
Subject: Xymon [186647] sabbeaprd02:cpu warning (YELLOW) [cfid:1304]



green Thu Sep 27 16:44:30 EDT 2012 up: 12 days, 0 users, 123 procs, load=11.10 System clock is 0 seconds off





top - 16:44:32 up 12 days,  8:29,  0 users,  load average: 13.66, 11.28, 10.39

Tasks: 121 total,   2 running, 119 sleeping,   0 stopped,   0 zombie

Cpu(s): 27.7%us,  1.7%sy,  0.1%ni, 69.1%id,  0.1%wa,  0.2%hi,  1.2%si,  0.0%st

Mem:   8175452k total,  7177740k used,   997712k free,    53092k buffers

Swap:  4192956k total,   930596k used,  3262360k free,   534092k cached

..snip..

Xymon environment variables
RECIPIENT=
BBCOLORLEVEL=yellow
BBALPHAMSG=sabbeaprd02:cpu yellow [186647]
green Thu Sep 27 16:44:30 EDT 2012 up: 12 days, 0 users, 123 procs, load=11.10
System clock is 0 seconds off


top - 16:44:32 up 12 days,  8:29,  0 users,  load average: 13.66, 11.28, 10.39
Tasks: 121 total,   2 running, 119 sleeping,   0 stopped,   0 zombie
Cpu(s): 27.7%us,  1.7%sy,  0.1%ni, 69.1%id,  0.1%wa,  0.2%hi,  1.2%si,  0.0%st
Mem:   8175452k total,  7177740k used,   997712k free,    53092k buffers
Swap:  4192956k total,   930596k used,  3262360k free,   534092k cached
..snip..

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120930/7f76295e/attachment.html>


More information about the Xymon mailing list