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 ?
Thanks.
Regards,
Pierre Lardinois Int. ICT Infrastructure Team TI Automotive
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.
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
participants (2)
-
frederic.mangeant@steria.com
-
plardinois@be.tiauto.com