<div dir="ltr">Mark,<div><br></div><div>Martin is right.  If you read carefully, all the information is there.  It would just be nice to have more examples indicating what works for wildcard situations.  I was using someone else's posted example, which turned out to be wrong (or relating to an old way of doing things).</div><div><br></div><div>Regards,</div><div>David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 4, 2015 at 1:00 PM, Martin Lenko <span dir="ltr"><<a href="mailto:lenko99@gmail.com" target="_blank">lenko99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I think that this is fairly well documented:</div><div><div>"logfilename" is the name of the logfile. Only logentries from this filename will be matched against this rule. Note that "logfilename" can be a regular expression (if prefixed with a '%' character).</div><div><br></div><div>"pattern" is a string or regular expression. If the logfile data matches "pattern", it will trigger the "msgs" column to change color. If no "color" parameter is present, the default is to go "red" when the pattern is matched. To match against a regular expression, "pattern" must begin with a '%' sign - e.g "%WARNING|NOTICE" will match any lines containing either of these two words. Note that Xymon defaults to case-insensitive pattern matching; if that is not what you want, put "(?-i)" between the "%" and the regular expression to turn this off. E.g. "%(?-i)WARNING" will match the word WARNING only when it is upper-case.</div></div><div><br></div><div><br></div><div>The thing is that "%" character is not used to match other characters or strings in regular expressions. It just instructs Xymon that the following string is a regex, not a string value.</div><div><br></div><div>Regards,</div><div>Martin</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 4 September 2015 at 17:34, Mark Felder <span dir="ltr"><<a href="mailto:feld@feld.me" target="_blank">feld@feld.me</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><span><br>
<br>
On Thu, Sep 3, 2015, at 10:35, David Welker wrote:<br>
> Found the solution.  This works...<br>
><br>
>   LOG %/var/(adm|log)/messages "%named.*?general.*?exiting" COLOR-=yellow<br>
><br>
> Found it in a 2009 Xymon archive after some serious digging. :)<br>
><br>
<br>
</span>Could the wording in the analysis.cfg man page for LOG be improved in<br>
any way?<br></div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div>