Xymon Mailing List Archive search

Duplicate email Recipients in Info page

list Don Kuhlman
Fri, 14 Sep 2012 13:54:50 +0000
Message-Id: <user-c26a5ca615bd@xymon.invalid>

Hi folks.  We recently rebuilt our Xymon server to 4.3.10.  Lost some
alert configurations.  After re-doing some of them, we are getting 3 or 4
emails for the same thing. Any tips on what I've missed would be
appreciated!

Thanks

Don K

As an example, I ran "./xymond_alert --test myhostname disk

It gives back this:

00016804 2012-09-14 08:39:38 Matching host:service:dgroup:page
'Media-Agent02-IMM:disk:NONE:Other' against rule line 186
00016804 2012-09-14 08:39:38 *** Match with 'SERVICE=cpu,disk,memory
TIME=W:0800:1700 EXHOST=DONXP RECOVERED' ***
00016804 2012-09-14 08:39:38 Matching host:service:dgroup:page
'Media-Agent02-IMM:disk:NONE:Other' against rule line 186
00016804 2012-09-14 08:39:38 *** Match with 'SERVICE=cpu,disk,memory
TIME=W:0800:1700 EXHOST=DONXP RECOVERED' ***
00016804 2012-09-14 08:39:38 Script alert with command
'/usr/lib64/xymon/server/ext/html_mail.pl' and recipient user-51c66ea445bd@xymon.invalid


Here is the rule from alerts.cfg on line 186:

SERVICE=cpu,disk,memory TIME=W:0800:1700 EXHOST=DONXP RECOVERED

I'm getting 4 emails as below with GREEN status and 1 with YELLOW status
and can't figure out where the duplication is coming from.  Can anyone
suggest what is wrong with my rules?


Monitoring Alert for:Media-Agent02-IMM - disk - status is (GREEN) Fri
9/14/12 8:36 AM
Monitoring Alert for:Media-Agent02-IMM - disk - status is (GREEN) Fri
9/14/12 8:36 AM
Monitoring Alert for:Media-Agent02-IMM - disk - status is (GREEN) Fri
9/14/12 8:36 AM
Monitoring Alert for:Media-Agent02-IMM - disk - status is (GREEN) Fri
9/14/12 8:36 AM
Monitoring Alert for:Media-Agent02-IMM - disk - status is (YELLOW) Fri
9/14/12 8:34 AM

The email body includes the following:
yellow Fri Sep 14 08:34:57 2012

Filesystem 1024-blocks Used Available Capacity Mounted on
Physical memory 102196 93324 8872 91% Physical memory
Virtual memory 102196 93324 8872 91% Virtual memory
Swap space 0 0 0 0% Swap space


Devmon version 0.3.0-rc1 running on Systems_Monitor