Xymon Mailing List Archive search

Align Entries Left (bb-hosts question)

2 messages in this thread

list Wiskbroom · Wed, 11 Nov 2009 10:05:33 -0500 ·
Hello;

I have a "group-compress" entry that is aligning in the center of my page and I wish to align it on the left for a better look.  Is there a way to do this, I am guessing in bb-hosts.

Thank you,

.vp
list Odinn · Wed, 11 Nov 2009 07:20:54 -0800 (PST) ·
The majority of my systems are hard coded IPs so my
default setting is --dns=ip in hobbitlaunch.cfg for bbtest-net to cut down on
actual DNS traffic. There is still the occasion to need to use 0.0.0.0 when
testing connectivity and other settings via CNAMED hosts.
 
Requires a simple code change of bbtest-net.c
 
Line 788 (or there abouts, depending on what version you
are using) is this line.
 
                    if (!h->testip &&
(dnsmethod != IP_ONLY)) add_host_to_dns_queue(h->hostname);
 
change it to this
 
                    if ((!h->testip && (dnsmethod != IP_ONLY)) ||
(strcmp(h->ip, "0.0.0.0") == 0))
add_host_to_dns_queue(h->hostname);
 
and you will still be able to do --dns=ip and still do
DNS searches on those systems that require a DNS lookup.
  --


Jim Sloan


Just remember, today is the day you thought tomorrow was going to be yesterday.