<p>I think that works fine for pages and sub-pages, but you still get all the hosts in the non green page. </p>
<p>Ralph Mitchell</p>
<div class="gmail_quote">On Apr 5, 2012 3:07 PM, "Don Kuhlman" <<a href="mailto:Don.Kuhlman@schawk.com">Don.Kuhlman@schawk.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<h2 style="font-family:Times;font-size:medium"><span style="font-weight:normal">Hello again folks. Today must be my xymon question day.  I just posted a query about re-organizing our xymon structure via a lot of include files,
 by OS, App, etc.</span></h2>
<div>While researching this, I came across the bit below from the man pages in xymongen.  If I understand this correctly, isn't this another way or the best way to organize hosts in pages without duplicating a lot of host names in different cfg files or over
 dosing with "includes" ?</div>
<div><br>
</div>
<div>Maybe this is only for a specific type of requirement.  Would anyone care to comment further ?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Don K</div>
<div><br>
</div>
<h2 style="font-family:Times;font-size:medium">BUILDING ALTERNATE PAGESETS</h2>
<span style="font-family:Times;font-size:medium">With version 1.4 of xymongen comes the possibility to generate multiple sets of pages from the same data.</span><span style="font-family:Times;font-size:medium"> </span><span style="font-family:Times;font-size:medium"><br>

</span><span style="font-family:Times;font-size:medium">Suppose you have two groups of people looking at the Xymon webpages. Group A wants to have the hosts grouped by the client, they belong to. This is how you have Xymon set
 up - the default pageset. Now group B wants to have the hosts grouped by operating system - let us call it the "os" set. Then you would add the page layout to hosts.cfg like this:</span>
<p style="font-family:Times;font-size:medium">ospage win Microsoft Windows <br>
ossubpage win-nt4 MS Windows NT 4 <br>
osgroup NT4 File servers <br>
osgroup NT4 Mail servers <br>
ossubpage win-xp MS Windows XP <br>
ospage unix Unix <br>
ossubpage unix-sun Solaris <br>
ossubpage unix-linux Linux</p>
<p style="font-family:Times;font-size:medium">This defines a set of pages with one top-level page (the xymon.html page), two pages linked from xymon.html (win.html and unix.html), and from e.g. the win.html page there are subpages win-nt4.html and win-xp.html <br>

The syntax is identical to the normal "page" and "subpage" directives in hosts.cfg, but the directive is prefixed with the pageset name. Dont put any hosts in-between the page and subpage directives - just add all the directives at the top of the hosts.cfg
 file. <br>
How do you add hosts to the pages, then ? Simple - just put a tag "OS:win-xp" on the host definition line. The "OS" must be the same as prefix used for the pageset names, but in uppercase. The "win-xp" must match one of the pages or subpages defined within
 this pageset. E.g.</p>
<p style="font-family:Times;font-size:medium">207.46.249.190 <a href="http://www.microsoft.com/" target="_blank">www.microsoft.com</a> # OS:win-xp <a href="http://www.microsoft.com/" target="_blank">http://www.microsoft.com/</a> <br>

64.124.140.181 <a href="http://www.sun.com/" target="_blank">www.sun.com</a> # OS:unix-sun <a href="http://www.sun.com/" target="_blank">http://www.sun.com/</a></p>
</div>
</div>

<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div>