<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Thanks Ralph.  I did some testing with the OS directives as below.  It appears as though the new pages are "hidden" as I don't see any links on the main pages to them, which means I can find them by directly entering their url.  Has anyone else tried this
 and have you used another method to show the link to the servers by os directly on a xymon web page ?</div>
<div><br>
</div>
<div>
<div>ospage win<span class="Apple-tab-span" style="white-space:pre"> </span>Windows Servers</div>
<div>ossubpage win-prod<span class="Apple-tab-span" style="white-space:pre"> </span>
Production</div>
<div>ossubpage win-dev<span class="Apple-tab-span" style="white-space:pre"> </span>
Dev</div>
<div>ospage macunix  Mac-Unix Servers</div>
<div>ossubpage macunix-prod     Production</div>
<div>ossubpage macunix-dev<span class="Apple-tab-span" style="white-space:pre"> </span>
Dev</div>
</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Don K</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Ralph Mitchell <<a href="mailto:ralphmitchell@gmail.com">ralphmitchell@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 5 Apr 2012 17:44:23 -0400<br>
<span style="font-weight:bold">To: </span>Don Kuhlman <<a href="mailto:don.kuhlman@schawk.com">don.kuhlman@schawk.com</a>><br>
<span style="font-weight:bold">Cc: </span>Xymon Email List <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Xymon] Another method to group and categorize hosts - "Building Alternate Pagesets"<br>
</div>
<div><br>
</div>
<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>
</span>
</body>
</html>