Xymon Mailing List Archive search

rule matching order

2 messages in this thread

list Daniel Bourque · Wed, 06 Jun 2007 12:44:47 -0500 ·
Hi,

let's say  hobbit-alerts.cfg I have :

HOST=blah
    mail foo SERVICE=http
    mail bar


If an http alert comes in for host "blah", will both foo and bar get an 
email , or both? if both , can I say:

HOST=blah
    mail foo SERVICE=http
    mail bar SERVICE="!http"

?

Thanks

-- 
Daniel Bourque
Systems/Network Administrator
Weather Data Inc

Office (XXX) XXX-XXXX
Office (XXX) XXX-XXXX ext. XXXX
Mobile (XXX) XXX-XXXX
list Henrik Størner · Wed, 6 Jun 2007 21:34:38 +0200 ·
quoted from Daniel Bourque
On Wed, Jun 06, 2007 at 12:44:47PM -0500, Daniel Bourque wrote:
HOST=blah
   mail foo SERVICE=http
   mail bar


If an http alert comes in for host "blah", will both foo and bar get an 
email , or both? if both , can I say:
Both will get an e-mail.
HOST=blah
   mail foo SERVICE=http
   mail bar SERVICE="!http"
Yes.


The easiest way to see how your alert rules work is to go to the "info"
column for a host; there's a section there listing who gets alerts for
each service.


Regards,
Henrik