Xymon Mailing List Archive search

Double and missing alerts

list Dominique Frise
Wed, 27 Dec 2006 10:56:04 +0100
Message-Id: <user-b07268e01d67@xymon.invalid>

user-58fb03ea780e@xymon.invalid wrote:
I've been getting double alert mails for one of my servers, and no
alerts for others. I'm wondering if the problem is related to my using
the UNMATCHED rule. It's not listed on the man page for
hobbit-alerts.cfg so I probably copied it from my earlier Big Brother
config without thinking. Is there an UNMATCHED equivalent in Hobbit?

Here's the current rules. I'm getting double e-mails for all tests on
atscm-setnas2.set.local. I'm also getting no alerts for the http test on
two servers that don't match the rules here. I didn't realize that until
I followed the info link for them and saw No Alerts Defined in the
alerting table.

HOST=* SERVICE=conn
	MAIL user-aa7aafd5a459@xymon.invalid COLOR=red
	
HOST=%atscm
	MAIL user-aa7aafd5a459@xymon.invalid EXSERVICE=conn COLOR=red

HOST=%atscs
	MAIL user-aa7aafd5a459@xymon.invalid EXSERVICE=conn DURATION>10 COLOR=red
	MAIL user-7dfe72a02ea9@xymon.invalid DURATION>10 COLOR=red

HOST=%atssl
	MAIL user-aa7aafd5a459@xymon.invalid EXSERVICE=conn DURATION>10 COLOR=red
	MAIL user-dd339f5d6753@xymon.invalid DURATION>10 COLOR=red

HOST=%atswv
	MAIL user-aa7aafd5a459@xymon.invalid EXSERVICE=conn DURATION>10 COLOR=red
	MAIL user-dd339f5d6753@xymon.invalid DURATION>10 COLOR=red

HOST=atscmmail1.ats.ad.local SERVICE=pop3
	MAIL user-7dfe72a02ea9@xymon.invalid COLOR=red

HOST=setnas1.set.local
	MAIL user-aa7aafd5a459@xymon.invalid EXSERVICE=conn COLOR=red
	MAIL user-ad12417d4139@xymon.invalid COLOR=red

HOST=atscm-setnas2.set.local
	MAIL user-ad12417d4139@xymon.invalid COLOR=red

UNMATCHED
	MAIL user-aa7aafd5a459@xymon.invalid COLOR=red


Scott Brehm

IT Manager
L-3 Communications - Applied Technologies
XXXX Carmel Mountain Rd, San Diego CA, 92121
XXX-XXX-XXXX

As catch all rule, we have this at the end of our hobbit-alerts.cfg

HOST=*
    root at localhost 24h RECOVERED UNMATCHED


Dominique
UNIL - University of Lausanne