<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Den 20.01.2014 02:17, Galen Johnson skrev:</p>
<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="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">client-local.cfg</a>(5)</em> and <em><a href="http://xymon.com/xymon/help/manpages/man5/analysis.cfg.5.html">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 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>
</body></html>