Xymon Mailing List Archive search

Poll: How many are using the "dispinclude" and "netinclude" options in hosts.cfg / bb-hosts ?

list Peter Welter
Thu, 29 Sep 2011 09:40:19 +0200
Message-Id: <user-56db640e79d0@xymon.invalid>

Hi Henrik,

There does not seem to be very much users of dispinclude or netinclude!? I
do not see very much traffic/response to your question.

That brings me to the following:

Double including bb-hosts-sub-files on a different pagesets results in a
yellow bb-test-column:

"Host xx.xx.xx.xx appears twice in bb-hosts! This may cause strange results"

What would you suggest to do in this case?

If I have a good alternative, that gives me similar behaviour that would be
very much appreciated.

Regards, Peter


2011/9/12 Scot Kreienkamp <user-462cf0b6d846@xymon.invalid>
 I wasn't aware there was an option of dispinclude or what it was used
for.  If I had I would be using it also.  ****

** **

Scot Kreienkamp****

** **

*From:* xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On
Behalf Of *Peter Welter
*Sent:* Monday, September 12, 2011 12:21 PM
*To:* Henrik Størner
*Cc:* Xymon mailinglist
*Subject:* Re: [Xymon] Poll: How many are using the "dispinclude" and
"netinclude" options in hosts.cfg / bb-hosts ?****

** **

Well, we do. :-)

I use this to make different kind of views: SLA-view, Solaris-view,
Windows-view, etc, and still keeping the configuration a one place to stop
and modify.

All bb-hosts-files are inluded or dispincluded and made up on separate
pages.

regards
--Peter****

2011/9/9 Henrik Størner <user-ce4a2c883f75@xymon.invalid>****

Hi,

I have a question for all of you.

xymongen and xymonnet currently reads the hosts.cfg file from disk when
they generate the webpages or run the network tests. Ever since the "bbgen
toolkit" days, these programs have supported an additional type of "include"
statement in hosts.cfg / bb-hosts: "dispinclude" works like "include", but
is recognized only by xymongen, and "netinclude" does the same for xymonnet.

I am considering removing these options, since that would make it very
simple to eliminate the need for xymongen and xymonnet to have access to the
hosts.cfg file - they can just fetch it from xymond, which both of them need
to talk to anyway.

But before I rip out this code, I would like to know how many are actually
using it. So if you do use either of these commands in your hosts.cfg file,
please speak up.


Regards,
Henrik


** **


This message is intended only for the individual or entity to which it is
addressed.  It may contain privileged, confidential information which is
exempt from disclosure under applicable laws.  If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information.  If you have received this communication in error,
please notify us immediately by e-mail or by telephone at the above number.
Thank you. ******
 <#1325e80159f79941_>