Creating display zones

You can create separate display zones within BB.  This allows you to present multiple  views of your Big Brother installation that are totally independent of each other.  This means that each view has its own bb.html and bb2.html pages and all navigation through these pages only contain hosts that are defined within the view.  To use this feature,  you first define a name of the top level view in the BBCURRDISP variable in bbdef-server.sh and then you need to specify the various "display" entries in the bb-hosts file, i.e.:

 

1.2.3.4 aaa.yyy.com #  BBDISPLAY BBNET BBPAGER

1.2.3.5 bbb.yyy.com #

display finance

page ...

group ...

...

...

display production

page ...

group...

...

...

 

so any directives  after the display keyword (except summaries that belong to the top level view) will be applied to that view until the next display keyword is encountered.

The top-level view and defined display zones are created in separate subdirectories.  To access the top-level view (assuming BBCURRDISP=TOP), you'd point to http://some.host.com/bb/TOP/bb.html  and the display zones (using the above example)  are accessed using http://some.host.com/bb/finance/bb.html and http://some.host.com/bb/production/bb.html .   Note that the http://some.host.com/bb/bb.html and http://some.host..com/bb/bb.html pages are still available but their content will be empty.  Using this directlry structure, you can set up access rights to view particular zones.  Also note that when this multi-display feature is used (BBCURRDISP is defined), the BBLOGSTATUS variable in bbdef-server.sh is reset to DYNAMIC automatically.

 

From the top-level view, you can also access the display zones by following the links in the "disp" column in the summary table (Remote Status Display) of the bb.html page.

 

There's a caveat with using this feature.  A hostname can only be defined within a single display.  It cannot span multiple displays.