<div>Betsy</div><div><br></div>Multiple "ignore" lines are permitted, and they accumulate.  The ignore string must be a regular expression, so the "%" must be left out, unless you want to match a percent character.  Also, if a space is in the string to match, the expression should not be enclosed in quotes, and the space should simply be included literally, or replaced with a "\s" or similar.  There is an implied ".*" at start and end, so for example "MARK" matches anywhere in a log line.<div>


<br></div><div>The code that compiles the regexps sets the REG_EXTENDED and REG_ICASE (ignore case) flags, so bear this in mind when matching.</div><div><br></div><div>In your case, I think the following should work:<div>

<br></div><div><span style="font-family:arial,sans-serif;font-size:13px">ignore nslcd</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">ignore MARK</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">ignore be2net</span><br></div>

<div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Or you could do this:</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>


</span></div><div><div><span style="font-family:arial,sans-serif;font-size:13px">ignore nslcd|MARK|be2net</span><br></div></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">If you want to test out your own expressions with a test cycle that's less than 10 minutes, create a file /tmp/config containing just the "log:" and "ignore" lines, and then run the following as the xymon user:</font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">rm -f /tmp/status && logfetch /tmp/config /tmp/status</font></div><div><font face="arial, sans-serif"><br></font></div><div>

<font face="arial, sans-serif">Then re-run it after editing the "/tmp/config" file, to see the changes.</font></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">J</span><br>

</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 December 2012 04:12, Betsy Schwartz <span dir="ltr"><<a href="mailto:betsy.schwartz@gmail.com" target="_blank">betsy.schwartz@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can I say for example<br>
<br>
[linux]<br>
log:/var/log/messages:102400<br>
ignore nslcd<br>
ignore MARK<br>
ignore %.*be2net.*<br>
<br>
or do those all have to be one regexp?<br>
<br>
(and can I say "ignore nslcd" or does it have to be "ignore %.*nslcd.* " ?<br>
_______________________________________________<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" target="_blank" rel="noreferrer">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div><br></div>