[hobbit] matching hosts and noconn

Lardinois, Pierre plardinois at be.tiauto.com
Tue Jun 20 14:02:00 CEST 2006


Hello Frederic,

That's it ! Thank you very much 

Regards,

Pierre Lardinois



-----Original Message-----
From: Frédéric Mangeant [mailto:frederic.mangeant at steria.com] 
Sent: lundi 19 juin 2006 15:58
To: hobbit at hswn.dk
Subject: Re: [hobbit] matching hosts and noconn

Lardinois, Pierre a écrit :
> Hello,
>
> In my bb-hosts, I have a section filled with servers where the test is 
> noconn
>
> 	page serversNOCONN
> 	123.123.123.110	server1	# noconn
> 	123.123.123.112	server2	# noconn
> 	123.123.123.113	server3	# noconn
>
> and another section where the servers have "real" tests
>
> 	page serversTESTS
> 	123.123.123.110 server1 	# testip !ftp !telnet
>
> If I try to make an alert rule with the following parameter, to 
> retrieve all red alerts on the page serversNOCONN :
>
> 	PAGE=serversNOCONN ....
> 	MAIL ....
>
> I received no alerts. If I check with the test command : 
>
> 	bbcmd hobbitd_alert --test server3 red conn
>
> I get this message : 
>
> 	Failed 'PAGE=serversNOCONN [...] (pagename not in include list)
>
> My questions are : 
> - Is it because hosts with noconn test only are not matched ? 
> - What is the "include list"? 
> - did I made something wrong somewhere ? 
>   


Hi Pierre

maybe you can use the "prefer" tag in bb-hosts :

prefer
    When a single host is defined multiple time in the bb-hosts file,
    bbgen tries to guess which definition is the best to use for the
    information used on the "info" column, or for the NOPROPRED and
    other bbgen-specific settings. Host definitions that have a "noconn"
    tag or an IP of 0.0.0.0 get lower priority.

    By using the "prefer" tag you tell bbgen that this host definition
    should be used.

    Note: This only applies to hosts that are defined multiple times in
    the bb-hosts file, although it will not hurt to add it on other
    hosts as well.

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis




To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk


The information contained in this transmission may contain privileged and
confidential information.  It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and
destroy all copies of the original message.



More information about the Xymon mailing list