<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Yup…I define the hosts in different subpage groupings.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My home page lists strictly pages, each page lists the subpages, and the subpages list the hosts contained within.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This would likely also allow me to have different (sub)pages list the same hosts, but with different columns displayed. I haven’t tried monkeying around with that level of configuration, though.<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";color:black'>Mike Burger</span></b><span style='font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";color:black'>AIX Administrator<o:p></o:p></span></b></p><p class=MsoNormal><a href="http://freedomhome.fhmc.local/intranet/main.jsp" target=content><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black;text-decoration:none'><img border=0 width=143 height=70 id="_x0000_i1027" src="cid:image001.gif@01CDDF64.587A5BF0" alt="cid:image001.gif@01CC72C8.834C1990"></span></b></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>Phone (317) 537-3680</span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>, </span></b><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>Fax</span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> </span></b><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>(317) 537-4680, Cell (317) 797-2040 </span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>E-mail:  </span></b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="mailto:Anthony.House@freedommortgage.com"><b><span style='color:#1F497D'>Mike.Burger@FreedomMortgage.com</span></b></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:#C00000'>"Once word leaks out that a pirate's gone soft, people begin to disobey you and then it's nothing but work, work, work, all the time." --Westley/The Dread Pirate Roberts<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Thomas Hawkins [mailto:cornmaster@gmail.com] <br><b>Sent:</b> Friday, December 21, 2012 9:55 AM<br><b>To:</b> Michael Burger; xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] Custom Server Rules for analysis.cfg<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hummm, that is interesting. You define the host multiple times in hosts.cfg? Is that a supported setup?<br><br>How does your main homepage look?<br><br>We have three sub pages, and one sub-sub page. I assume under this setup, you would need more subpages splintering off the main home page for this to work. Although it would be nice at a glance to see all of the server grouped by my various 'tags' as well as function.<br><br>Thomas<o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" align=center></div><div><p class=MsoNormal><b>From: </b>"Michael Burger" <<a href="mailto:Mike.Burger@FreedomMortgage.com">Mike.Burger@FreedomMortgage.com</a>> <o:p></o:p></p></div><div><p class=MsoNormal><b>Date: </b>Fri, 21 Dec 2012 09:38:19 -0500<o:p></o:p></p></div><div><p class=MsoNormal><b>To: </b>Thomas Hawkins<<a href="mailto:cornmaster@gmail.com">cornmaster@gmail.com</a>>; <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>><o:p></o:p></p></div><div><p class=MsoNormal><b>Subject: </b>RE: [Xymon] Custom Server Rules for analysis.cfg<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>FWIW, I have a number of cases where I have hosts on multiple (sub)pages. I don’t use them for the analysis.cfg as much as for the alerts.cfg, but in this way, I can have a page for team x’s servers, team y’s servers, prod, non-prod, or all server.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";color:black'>Mike Burger</span></b><span style='font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-family:"Calibri","sans-serif";color:black'>AIX Administrator<o:p></o:p></span></b></p><p class=MsoNormal><a href="http://freedomhome.fhmc.local/intranet/main.jsp" target=content><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:black;text-decoration:none'><img border=0 width=143 height=70 id="Picture_x0020_1" src="cid:image001.gif@01CDDF64.587A5BF0" alt="cid:image001.gif@01CC72C8.834C1990"></span></b></a><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>Phone (317) 537-3680</span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>, </span></b><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>Fax</span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'> </span></b><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>(317) 537-4680, Cell (317) 797-2040 </span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:black'>E-mail:  </span></b><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="mailto:Anthony.House@freedommortgage.com"><b><span style='color:#1F497D'>Mike.Burger@FreedomMortgage.com</span></b></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Calibri","sans-serif";color:#C00000'>"Once word leaks out that a pirate's gone soft, people begin to disobey you and then it's nothing but work, work, work, all the time." --Westley/The Dread Pirate Roberts<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:xymon-bounces@xymon.com">xymon-bounces@xymon.com</a> [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>] <b>On Behalf Of </b>Thomas Hawkins<br><b>Sent:</b> Friday, December 21, 2012 8:22 AM<br><b>To:</b> <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br><b>Subject:</b> [Xymon] Custom Server Rules for analysis.cfg<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>We have 50 or 60 servers configured across a number of pages in our xymon instance.  Instead of having 60 host=hostname entries with generic entries across all of the servers, I want to set up some groups/tags/etc... that can be applied to a host.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So, I figured out I could do:<o:p></o:p></p></div><div><p class=MsoNormal>PAGE=DELTS/*/*<o:p></o:p></p></div><div><p class=MsoNormal>        #Defaults for all DELTS Servers<o:p></o:p></p></div><div><p class=MsoNormal>        PROC crond 1 -1 red "TEXT=crond : Task Scheduler"<o:p></o:p></p></div><div><p class=MsoNormal>        PROC ntpd 1 -1 yellow "TEXT=ntpd : Network Time Client"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>To go across all of our servers on our subpages to apply these two proc checks.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What I would like to do is get a bit more specific.  We have a mix of physical machines, virtual machines, and linux machines, windows machines, and production machines and development machines.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'd like to be able to tag hosts somehow so I can do something like this:<o:p></o:p></p></div><div><p class=MsoNormal>Host 1 = Linux, Production, VM<o:p></o:p></p></div><div><p class=MsoNormal>Host 2 = Linux, Physical, Dev<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Linux:<o:p></o:p></p></div><div><p class=MsoNormal>PROC - ntp, cron<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Production:<o:p></o:p></p></div><div><p class=MsoNormal>PROC - backup client<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>VM:<o:p></o:p></p></div><div><p class=MsoNormal>PROC - vmwaretools<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Physical:<o:p></o:p></p></div><div><p class=MsoNormal>nothing additional.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Dev:<o:p></o:p></p></div><div><p class=MsoNormal>nothing additional<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So for Host1 it will do the following PROC tests:<o:p></o:p></p></div><div><p class=MsoNormal>ntp, cron, backup client, vmwaretools<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Whereas Host2 will only do:<o:p></o:p></p></div><div><p class=MsoNormal>ntp, cron<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I understand that if I had hosts configured into like groups, or subpages then I could target the whole works that way, but I currently have my hosts configured in a way that this is not practical.  Essentially I have all hosts divided into 3 major groups, and then a number of subgroups, and then the hosts are listed here based on application cluster or function.  Basing it on groups or pages would also require me to create a bunch of additional rules to account for each of the situations above, whereas something like a tag that a host could have multiple of would simplify things.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Can anyone provide any insight as to how I can achieve these goals?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks,<o:p></o:p></p></div><div><p class=MsoNormal>Thomas<o:p></o:p></p></div></div><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><pre>CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for<o:p></o:p></pre><pre>the sole use of the intended recipient(s) and may contain confidential<o:p></o:p></pre><pre>information. Any unauthorized review, use, disclosure, alteration or<o:p></o:p></pre><pre>distribution is strictly prohibited and may violate state or federal law. If you<o:p></o:p></pre><pre>are not the intended recipient, please contact the sender by reply e-mail,<o:p></o:p></pre><pre>delete this email and destroy all copies of the message.<o:p></o:p></pre></div></body></html>

<pre>

CONFIDENTIALITY NOTICE: This e-mail message, including all attachments, is for
the sole use of the intended recipient(s) and may contain confidential
information. Any unauthorized review, use, disclosure, alteration or
distribution is strictly prohibited and may violate state or federal law. If you
are not the intended recipient, please contact the sender by reply e-mail,
delete this email and destroy all copies of the message.</pre>