Xymon Mailing List Archive search

Mulitple host definition in bb-hosts

2 messages in this thread

list Al Jeffcoat · Wed, 2 Mar 2005 14:06:01 -0500 ·
Hello, 

 
When you define a host multiple times in the bb-hosts file, bbtest gives
a warning about strange results.  What I want to do is have a display
page with separate sections, two of which will be labeled AIX and
Critical Systems.  One of the AIX servers is also a Critical System, and
would be included in both sections, and thus be listed in the hosts file
twice.  I'll be using the prefer tag on the entry in the AIX section.

 
I've been testing it for about a day now, and it doesn't appear to do
anything but turn bbtest yellow.  Is there any serious repercussion to
this?  If not, is there a way to tell bbtest to ignore duplicate entries
so that it doesn't turn yellow?

 
Thanks

 
Al Jeffcoat
IBM Certified Support Specialist, AIX
Enterprise Storage Administrator
System Programmer II
(321)843-1051
user-b34a8ad6e24c@xymon.invalid

 
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Henrik Størner · Wed, 2 Mar 2005 21:52:13 +0100 ·
quoted from Al Jeffcoat
On Wed, Mar 02, 2005 at 02:06:01PM -0500, Jeffcoat, Al wrote:
When you define a host multiple times in the bb-hosts file, bbtest gives
a warning about strange results.
It's really very simple: Make sure only one of the definitions have
network tests defined - including the "conn" test that is enabled by
default for all hosts. So the way to have a host listed twice in
bb-hosts is to do it like this:

  10.0.0.1    myhost.foo.com  # ssh http://myhost.foo.com/
  10.0.0.1    myhost.foo.com  # noconn

If you do this, bbtest-net stays quiet and ignores the second
definition.


Regards,
Henrik