Xymon Mailing List Archive search

recovered messages/SMS missing

list Dominique Frise
Wed, 31 May 2006 10:43:20 +0200
Message-Id: <user-bfaa10dc30a9@xymon.invalid>

Henrik Stoerner wrote:
On Tue, May 30, 2006 at 04:32:30PM +0200, Dominique Frise wrote:
Your exclusion is wrong. It should be (notice the TIME setting):

HOST=test3 TIME=*:0315:0305
 MAIL user-5a72e5dcda3f@xymon.invalid REPEAT=24h RECOVERED
 SCRIPT /usr/local/sendsms 0123456789 COLOR=red FORMAT=SMS REPEAT=24h  RECOVERED
Thank you fo these explanations.

That means it is not possible to write simple rules for excluding alerts for a given service for all hosts (HOST=*) during a period of time?
Do we really have to write the same exclude/include rules for each host?

Not at all. If that's what you want to do, put this at the top of your rules list:

TIME=*:0305:0315
	IGNORE


Regards,
Henrik

Thanks again for this other tip.

I think I did not fully understand the IGNORE setting :-)

All our rules are now setup -hopefully- correctly and recovered messages are sent when they should :-)


Dominique
UNIL - University of Lausanne