Using dispincludes with subpage and subparents - not working - please help...
list Wiskbroom
Hello All; My bb-hosts file does not actually contain much in terms of hosts, or IP addresses, instead I've opted to use "dispinclude" statements which inject data in the "IP-ADDRESS HOSTNAME" format. The problem is that it either does not work at all, or just works on just the second "dispinclude" for the same file. I.e., I am using "includes/S1/s1wintelAD.txt" in two locations below. Are my statements missing something? Do I have my order incorrect perhaps? Thank you, .vadim ---------START OF includes/S1/s1wintelAD.txt FILE------ 192.168.1.200 client200 192.168.1.201 client201 192.168.1.202 client202 --------------START OF bb-hosts FILE------------------- page s1servers Site 1 group-compress Site1 Xymon Server 192.168.1.100 xymon1.example.com # BBPAGER BBNET BBDISPLAY bbd http://xymon1.example.comm/ title Building 1 Site # ############# # NETWORK # ############# # subpage s1network Site1 Network Equipment title Site1 Network Equipment # subparent s1network s1networkROUTERScores Core Routers group-compress Site1 Core Routers dispinclude includes/S1/s1networkROUTERScores.txt # subparent s1network s1networkROUTERSswitches Core Switches group-compress Site1 Core Switches dispinclude includes/S1/s1networkROUTERSswitches.txt # subparent s1network s1networkSWITCHES Network Switches group-compress Site1 Network Switches dispinclude includes/S1/s1networkSWITCHES.txt # # ############# # WINDOWS # ############# # subpage s1wintel Site1 Wintel Servers title Site1 Wintel Servers # subparent s1wintel s1wintelEXCH Exchange Servers group-compress Site1 Exchange Servers dispinclude includes/S1/s1wintelEXCH.txt # subparent s1wintel s1wintelAD Wintel AD Servers group-compress Site1 Wintel AD Servers dispinclude includes/S1/s1wintelAD.txt # subparent s1wintel s1wintelFS Wintel Fileservers group-compress Site1 Wintel Fileservers dispinclude includes/S1/s1wintelFS.txt # ################################# # All AD Servers (All-Sites) # ################################# # page allwintelad All AD Servers title All Corporate AD Servers dispinclude includes/S1/s1wintelAD.txt dispinclude includes/S2/s2wintelAD.txt dispinclude includes/S3/s3wintelAD.txt # --------------END OF bb-hosts FILE-------------------
list Malcolm Hunter
▸
My bb-hosts file does not actually contain much in terms of hosts, or IP addresses, instead I've opted to use "dispinclude" statements which inject data in the "IP-ADDRESS HOSTNAME" format. The problem is that it either does not work at all, or just works on just the second "dispinclude" for the same file. I.e., I am using "includes/S1/s1wintelAD.txt" in two locations below. Are my statements missing something? Do I have my order incorrect perhaps?
group-compress should be on the same line as its title: group-compress Site1 Xymon Server same for title: title Building 1 Site I presume dispinclude should work the same as include - I've never used dispinclude or netinclude. Other than that, your files look okay. Malcolm -- Technical copy-editor & proofreader KDE Proofreading Team KDE British English Translation Team http://l10n.kde.org/team-infos.php?teamcode=en_GB Facebook: http://www.facebook.com/FriendlyAtheist Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
list Wiskbroom
▸
My bb-hosts file does not actually contain much in terms of hosts, or IP addresses, instead I've opted to use "dispinclude" statements which inject data in the "IP-ADDRESS HOSTNAME" format. The problem is that it either does not work at all, or just works on just the second "dispinclude" for the same file. I.e., I am using "includes/S1/s1wintelAD.txt" in two locations below. Are my statements missing something? Do I have my order incorrect perhaps?
group-compress should be on the same line as its title: group-compress Site1 Xymon Server same for title: title Building 1 Site
That part is actually working, unless the site contains no hosts in the bb-hosts. Seems like it requires at least one entry in order to display the title.
I presume dispinclude should work the same as include - I've never used dispinclude or netinclude. Other than that, your files look okay.
OK, I think I figured it out, I'd love for someone to confirm. The first use must be an "include", subsequent use of the same file "can be" dispinclude. I changed the first use from dispinclude to include and I am now seeing my hosts! Thanks, .vadim