Xymon Mailing List Archive search

Feature: Grouped Non-green view

list Henrik Størner
Wed, 8 Dec 2010 16:35:12 +0000 (UTC)
Message-Id: <idoc40$lfe$user-e356fad9864f@xymon.invalid>

In <AANLkTikrx=user-3c66a77b1b77@xymon.invalid> Chris Wopat <user-eea2f6db9341@xymon.invalid> writes:
I'm still curious what those two code snippets are for? Again they
were in bbdisplay/pagegen.c:
bb2page.subpages = NULL;
bb2page.groups = NULL;
Inside xymongen (bbgen), it's the same code that is used to generate
the normal pages, the nongreen page and the old "NK" page. So this
is simply a necessary initialisation since the nongreen/bb2 page
doesn't have any subpages or groups.

If you would like an explanation of what this datastructure looks
like inside xymongen, then have a look at the xymongen/xymongen.h
file (bbdisplay/bbgen.h in 4.2.3) - there's a rather large comment
at the top describing how the internal datastructure is.


Regards,
Henrik