#             Example: Go red if the text "I/O error" or "read error" appears.<br>#                 LOG %/var/(adm|log)/messages %(I/O|read).error COLOR=red<br><br clear="all">Josh Luthman<br>Office: 937-552-2340<br>

Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>"When you have eliminated the impossible, that which remains, however improbable, must be the truth."<br>--- Sir Arthur Conan Doyle<br>


<br><br><div class="gmail_quote">On Fri, Sep 18, 2009 at 11:27 AM, Camelia Anghel <span dir="ltr"><<a href="mailto:canghel@cjh.org">canghel@cjh.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
















<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Did that but it look for all messages that
have one of the 3 words</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks anyway</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Camelia </span></font></p><div><div></div><div class="h5">

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p style="margin-left: 0.5in;"><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">-----Original Message-----<br>
<b><span style="font-weight: bold;">From:</span></b> Josh Luthman
[mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, September 18, 2009
11:22 AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [hobbit] how to
search for exact word patterns</span></font></p>

<p style="margin-left: 0.5in;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-right: 0in; margin-bottom: 12pt; margin-left: 0.5in;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I think it's:<br>
<br>
HOST=<a href="http://my.host.com" target="_blank">my.host.com</a><br>
    LOG /var/log/messages "out of memory" COLOR=red<br>
<br>
Not tested.<br>
<br clear="all">
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."<br>
--- Sir Arthur Conan Doyle<br>
<br>
</span></font></p>

<div>

<p style="margin-left: 0.5in;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Fri, Sep 18, 2009 at 9:26 AM, Camelia Anghel <<a href="mailto:canghel@cjh.org" target="_blank">canghel@cjh.org</a>> wrote:</span></font></p>



<p style="margin-right: 0in; margin-bottom: 12pt; margin-left: 0.5in;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Hello all,<br>
I am trying to set up an alert to search for exact word patterns in<br>
/var/log/messages.  For example: "Out of Memory"<br>
<br>
Any help would be appreciated.<br>
<br>
Thanks,<br>
Camelia<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<br>
</span></font></p>

</div>

<p style="margin-left: 0.5in;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

</div></div></div>

</div>


 </blockquote></div><br>