[hobbit] hobbit-alert.cfg : PAGE question

olivier at qalpit.com olivier at qalpit.com
Sun Mar 27 10:30:34 CEST 2005


Thanks henrik,

works great !!


--
olivier



Selon Henrik Stoerner <henrik at hswn.dk>:

> On Sat, Mar 26, 2005 at 10:31:43PM +0100, olivier at qalpit.com wrote:
> > page unix unix
> > subpage mail mail
> > subparent mail mx mx
> > //my mx servers... lets say mx0
> > 
> > can hobbitd matches mx0 with PAGE=unix ? or PAGE=mail ?
> 
> PAGE criteria can also be a regular expression. So "PAGE=%unix/.*"
> would match hosts on any page below the "unix" page.  
> 
> And "PAGE=%.*/mx" would match hosts on an "mx" page, regardless of
> where in the page hierarchy it is located.
> 
> > and what happens when hosts are on several pages ??
> 
> Then the match would be done on the page that is the "primary" one,
> i.e. the one where the host definition has a "prefer" tag. If none of
> the definitions of a host has such a tag, then it uses the definition
> that does not have a "noconn" tag and does not have "0.0.0.0" as the
> IP address.
> 
> 
> Henrik
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
> 



More information about the Xymon mailing list