Xymon Mailing List Archive search

Email alert clarifications

2 messages in this thread

list Don Kuhlman · Mon, 6 Aug 2012 13:36:15 +0000 ·
Hi folks. I'm trying to clean up some of our alerts and need a bit of help with my configurations.

In our webpage for a host, under the Info page, I see the configuration below for emails.

cpu     user-3906fe8dc54c@xymon.invalid (R)  -       -       30m     W:0800:1600     purple,yellow,red
user-3c6388e071ba@xymon.invalid (R)      -       -       30m     W:0800:1600     purple,yellow,red
user-3c6388e071ba@xymon.invalid  -       -       30m     -       purple,yellow,red

The way I'm reading this, is that we have the CPU alerts set for any non green condition for this host to send an email to the infrastructure team every 30 minutes between 8 AM and 4PM weekdays.

There are two places telling it to send the appsupport team an email every 30 minutes for any non-green condition.  However, one is at any time, the other is weekdays 8AM – 4PM

First question, why is there an "R" in parentheses behind the first two alerts?

Second question, where can I find the source of my duplicated "appsupport" email ?

Thanks

Don K
list Henrik Størner · Mon, 06 Aug 2012 16:05:56 +0200 ·
quoted from Don Kuhlman
On 06-08-2012 15:36, Don Kuhlman wrote:
The way I'm reading this, is that we have the CPU alerts set for any non
green condition for this host to send an email to the infrastructure
team every 30 minutes between 8 AM and 4PM weekdays.
Correct.
quoted from Don Kuhlman
There are two places telling it to send the appsupport team an email
every 30 minutes for any non-green condition.  However, one is at any
time, the other is weekdays 8AM – 4PM

First question, why is there an "R" in parentheses behind the first two
alerts?
The "(R)" means it will also send a "Recovered" message.
quoted from Don Kuhlman
Second question, where can I find the source of my duplicated
"appsupport" email ?
Easiest way is to run

    xymoncmd xymond_alert --dump-config

to get the parsed version of the alerts.cfg file with the corresponding 
line-numbers of the config file, and then run

    xymoncmd xymond_alert --test SERVERNAME cpu \
	--time=`date +%s --date="today 1 pm"`

to see where you get a "** Match with" hit.


Regards,
Henrik