[xymon] Feature: Grouped Non-green view
Henrik Størner
henrik at hswn.dk
Wed Dec 8 17:35:12 CET 2010
In <AANLkTikrx=O_XGOhrhND8FwLjYgs02-Ei0JUX9u46kzj at mail.gmail.com> Chris Wopat <me at falz.net> 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
More information about the Xymon
mailing list