<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style style="display: none;" id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style><style>
<!--
@font-face
        {font-family:Helvetica}
@font-face
        {font-family:Helvetica}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle18
        {font-family:"Arial","sans-serif";
        color:black;
        font-weight:normal;
        font-style:normal}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:70.85pt 70.85pt 70.85pt 70.85pt}
-->
</style>
</head>
<body tabindex="0" aria-label="Message body" fpstyle="1" dir="ltr">
<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family: Calibri,Arial,Helvetica,sans-serif; font-size: 12pt; color: #000000; margin: 0">
I thought using CLASS:tag would accomplish this...the man pages and the doc embedded in the analysis.cfg file read this way.  However, it seems that it may ONLY be for FILE tests.  It would be damn handy if this could be extended to support any test.  Since
 the systems I'm trying to monitor in the various regions are groups of the same systems, it's a bit of a pain to have to set up the HOST= for all those systems...even with regex.  Just being able to use the class would streamline the config files greatly.
 (hint, hint, Henrik :-) ).  If anyone has actually been able to use this in this fashion, I would love to know.  For now, I'm going to have to brute force it.<br>
<br>
=G=<br>
<br>
<div style="color: rgb(40, 40, 40);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Xymon <xymon-bounces@xymon.com> on behalf of didier.bringer@orange.com <didier.bringer@orange.com><br>
<b>Sent:</b> Friday, December 13, 2013 9:42 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] analysis.cfg question</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black">Hi all,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US">It makes me think of a feature that would be very nice…</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US">The ability to create a configuration based on “tags” and so one would be able to build confs without listing explicitly machines inside</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">page mygroup</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">group-compress mywww</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">0.0.0.0      www1 # http://www1/</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">0.0.0.0      www2 # http://www2/</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">0.0.0.0      www3 # http://www3/</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">…</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US">Would become
</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">page mygroup</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">group-compress-on-tag  mywww tag=mywww</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US">0.0.0.0      clientname   # http://clientname/</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black" lang="EN-US">And the group would be dynamic (the number of machines is not relevant)…  and the line of config would be based on a template line</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:Consolas; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Helvetica","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:black" lang="EN-US"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">De :</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Xymon [mailto:xymon-bounces@xymon.com]
<b>De la part de</b> deepak deore<br>
<b>Envoyé :</b> vendredi 13 décembre 2013 10:40<br>
<b>À :</b> Galen Johnson<br>
<b>Cc :</b> xymon@xymon.com<br>
<b>Objet :</b> Re: [Xymon] analysis.cfg question</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">For EC2 hosts, I changed MACHINEDOTS variable in runclient.sh on xymon client.</p>
<div>
<p class="MsoNormal">eg.</p>
</div>
<div>
<p class="MsoNormal">MACHINEDOTS=<a href="http://hostname.example.com">hostname.example.com</a></p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">On server side, no need to use CLIENT or NAME in hosts.cfg, just use the name which is defined in client's MACHINEDOTS.</p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">On Fri, Dec 13, 2013 at 8:53 AM, Galen Johnson <<a href="mailto:solitaryr@gmail.com" target="_blank">solitaryr@gmail.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Is it possible to key on the "NAME:" or "CLIENT:" definition instead of HOST?  Monitoring several systems in EC2 and all the servers have hosts defined as ec2-12-34-56-78.blah.blah.blah.</p>
</div>
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888">=G=</span></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<pre>_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
</pre>
</div>
</div>
</div>
</body>
</html>