Xymon Mailing List Archive search

PAGE match and group-only

list Paul Root
Thu, 12 Jun 2014 16:29:55 +0000
Message-Id: <user-7cdb30a4befe@xymon.invalid>

Why go through all this?  Why not:

HOST=testserver SERVICE=test1
	$ALERT_TYPE_1

HOST=testserver SERVICE=test2
	$ALERT_TYPE_2

Simple, clear, and effective.

-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Davíð Steinn Geirsson
Sent: Thursday, June 12, 2014 11:12 AM
To: xymon at xymon.com
Subject: [Xymon] PAGE match and group-only

Hi all,

Consider the following hosts.cfg:

page testpage1 Test page 1
group-only test1
0.0.0.0 testserver

page testpage2 Test page 2
group-only test2
0.0.0.0 testserver

page hostdefs Host definitions
10.100.252.1 testserver # prefer

And alerts.cfg:

PAGE=testpage1 COLOR=red DURATION>5
	$ALERT_TYPE_1

PAGE=testpage2 COLOR=red DURATION>5
	$ALERT_TYPE_2

I would expect xymon to alert with $ALERT_TYPE_1 when testserver.test1
goes red. What actually happens is that sometimes $ALERT_TYPE_2 gets
triggered as well, even though test1 does not appear on the page
testpage2.

Anyone has any ideas? I'm guessing this is a bug in xymon, just want to
see if anyone has patches or a workaround.

-- 
Bestu kveðjur / Best regards
Davíð Steinn Geirsson
Basis ehf | Síðumúli 32 | (+XXX) XXX-XXXX