<div dir="ltr"><div>For some reason, it ignores the entry if I do the following:<br><br></div>hosts.cfg entry:<br>149.173.106.52  <a href="http://oda01au.example.com">oda01au.example.com</a>  # conn ssh pulldata NAME:odaws01-us CLIENT:oda01au CLASS:workspace<br>
<div><br>CLASS=workspace<br>        PROC "ObjectSpawner"<br>        PROC "/pbr/sfw/sas/930/SASFoundation/9.3/sasexe/sas" 0 225 yellow TRACK=sas "TEXT=SAS Sessions"<br>        PORT "LOCAL=%[\.:]8591$" state=LISTEN "TEXT=Workspace Server"<br>
        PORT "REMOTE=%[\.:]8561$" state=ESTABLISHED MIN=0 TRACK=omr "TEXT=Active Connections to Metadata Server"<br>        PORT "LOCAL=%[\.:]8591$" state=ESTABLISHED MIN=0 TRACK=ws "TEXT=Active Connections to SASMain Workspace Server"<br>
<br></div><div>Admittedly, I don't have --class=Classname on the client but was hoping that having it in the hosts.cfg would be enough.  I'm going to test it but was curious if that was required...even if it matches.<br>
</div><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 20, 2014 at 3:08 AM,  <span dir="ltr"><<a href="mailto:henrik@hswn.dk" target="_blank">henrik@hswn.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>Den 20.01.2014 02:17, Galen Johnson skrev:</p><div><div class="h5">
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div dir="ltr">I think this may have gotten lost in a separate thread.  Reading the man page for alerts.cfg, there are a few keywords that you can use to configure alerts...in the hosts.cfg man page you can add a tag for CLASS that is only for logs...<br>
<br><dl compact><dt>CLASS:Classname</dt><dd>Force the host to belong to a specific class. Class-names are used when configuring log-file monitoring (they can be used as references in <em><a href="http://xymon.com/xymon/help/manpages/man5/client-local.cfg.5.html" target="_blank">client-local.cfg</a>(5)</em> and <em><a href="http://xymon.com/xymon/help/manpages/man5/analysis.cfg.5.html" target="_blank">analysis.cfg</a>(5)</em> to group log file checks). Normally, class-names are controlled on the client by starting the Xymon client with the "--class=Classname" option. If you specify it in the hosts.cfg file on the Xymon server, it overrides any class name that the client reports.</dd>
</dl>
<p>It would be handy to allow alerts.cfg to trigger on this as well.  Not sure what this would entail but would be very useful.</p>
</div>
</blockquote>
</div></div><div dir="ltr">
<p> </p>
<p>You already can. I see it is not documented in the alerts.cfg man-page, but you can use CLASS=... and EXCLASS=... in alerts.cfg just as you would use HOST=... or EXHOST=...</p>
<p> </p>
<p>Regards,<br>Henrik</p>
<p> </p>
</div>
<div> </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><br></div>