Xymon Mailing List Archive search

Question on UNMATCHED tag

2 messages in this thread

list Tom Kauffman · Fri, 6 May 2005 10:16:22 -0500 ·
Henrik --

What's the syntax to do a global 'unmatched' tag at the end of the
hobbit-alerts.cfg file?

(or -- is this reasonable?)

HOST=%(.*)
	MAIL kauffmant at localhost UNMATCHED TIME=W:0730:1600 DURATION>5m
REPEAT=2h

TIA

Tom Kauffman

PS -- threw the Big Red Switch yesterday and everything is working fine!

TK
list Henrik Størner · Sat, 7 May 2005 17:14:23 +0200 ·
Hi Tom,
quoted from Tom Kauffman

On Fri, May 06, 2005 at 10:16:22AM -0500, Kauffman, Tom wrote:
Henrik --

What's the syntax to do a global 'unmatched' tag at the end of the
hobbit-alerts.cfg file?

(or -- is this reasonable?)

HOST=%(.*)
	MAIL kauffmant at localhost UNMATCHED TIME=W:0730:1600 DURATION>5m REPEAT=2h
Yep, that will work. You could use "HOST=*" instead (it's probably one
or two microseconds faster :-))
PS -- threw the Big Red Switch yesterday and everything is working fine!
Congrats, glad to hear that.


Henrik