Xymon Mailing List Archive search

pageset and multiple host definition

2 messages in this thread

list Dominique Frise · Wed, 24 May 2006 16:19:01 +0200 ·
Hi,

Using snapshot of 15 mai.

---bb-hosts example---
hktitle Unil Services
hkpage unilServDNS DNS
hkgroup-only conn|dns|info Unil DNS
hkpage unilServAAL AAI, AD, LDAP
...
...
1.2.3.4   test1	  # prefer COMMENT:"Prim. DNS" HK:unilServDNS dhcp dns smtp
...
...
1.2.3.4   test1   # noconn

After generation of the pageset (BBWEB="/hk" $BBHOME/bin/bbgen --pageset=hk $BBHOME/www-hk), the host test1 appears TWICE on the /hk/unilServDNS/unilServDNS.html page :-(

"nodisp" cannot be used on the second definition because it has to be part of the default pageset.

Anything that we are missing?


Dominique
UNIL - University of Lausanne
list Larry Barber · Wed, 24 May 2006 09:29:43 -0500 ·
I don't think you are missing anything. I've noticed the same behavior.
Having the same host listed twice in bb-hosts causes all sorts of problems.
This is probably due to bb-hosts having grown so much beyond its original
function, it would be nice if the page descriptions were separate from the
test descriptions, but until that happens I think we are going to have to
live with some odd behavior here and there.

Thanks,
Larry Barber
quoted from Dominique Frise

On 5/24/06, Dominique Frise <user-78ab6673b600@xymon.invalid> wrote:
Hi,

Using snapshot of 15 mai.

---bb-hosts example---
hktitle Unil Services
hkpage unilServDNS DNS
hkgroup-only conn|dns|info Unil DNS
hkpage unilServAAL AAI, AD, LDAP
...
...
1.2.3.4   test1   # prefer COMMENT:"Prim. DNS" HK:unilServDNS dhcp dns
smtp
...
...
1.2.3.4   test1   # noconn

After generation of the pageset (BBWEB="/hk" $BBHOME/bin/bbgen
--pageset=hk
$BBHOME/www-hk), the host test1 appears TWICE on the
/hk/unilServDNS/unilServDNS.html page :-(

"nodisp" cannot be used on the second definition because it has to be part
of
the default pageset.

Anything that we are missing?


Dominique
UNIL - University of Lausanne