It looks ok to me, but since your match string isn't a regexp, you really don't need the "TEXT=" part. Even though the comments in the config file says you can have it, I've never used it. In fact, I'm not sure what good it does since the full message is displayed without it, even with a regexp for the match string.<div>
<br class="webkit-block-placeholder"></div><div>Also a caveat: many of us have noticed that the pattern matching for the log files is buggy. At least in 4.2.0. Some IGNORE patterns don't ignore. I don't remember noticing any match strings not matching, though. </div>
<div><br class="webkit-block-placeholder"></div><div>Steve.</div><div><br><br><div class="gmail_quote">On Wed, Mar 12, 2008 at 1:08 PM, Josh Luthman <<a href="mailto:josh@imaginenetworksllc.com">josh@imaginenetworksllc.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I must have skipped over that when I did a grep -i msgs ~hobbituser/server/etc/* to brute force the answer out of the configuration. =P<br>
<br>I went on the server and made a line that says...<br><br>HOST=thismatchesbbhosts<br>
  LOG /var/log/messages e100_watchdog COLOR=red TEXT="bond interface watch"<br><br>On the hobbit server, on the msgs test page, I have this text...<br><br><pre>Mar 12 12:55:19 neon kernel: e100: eth0: <span style="font-weight:bold">e100_watchdog</span>: link down<br>

Mar 12 12:55:19 neon kernel: bonding: bond0: link status definitely down for interface eth0, disabling it<br>Mar 12 12:55:19 neon kernel: bonding: bond0: making interface eth1 the new active one.<br>Mar 12 12:55:23 neon kernel: e100: eth0: <span style="font-weight:bold">e100_watchdog</span>: link up, 100Mbps, full-duplex<br>

Mar 12 12:55:23 neon kernel: bonding: bond0: link status definitely up for interface eth0.<br>Mar 12 12:55:26 neon kernel: e100: eth1: <span style="font-weight:bold">e100_watchdog</span>: link down<br>Mar 12 12:55:26 neon kernel: bonding: bond0: link status definitely down for interface eth1, disabling it<br>

Mar 12 12:55:26 neon kernel: bonding: bond0: making interface eth0 the new active one.<br>Mar 12 12:55:28 neon kernel: e100: eth1: <span style="font-weight:bold">e100_watchdog</span>: link up, 100Mbps, full-duplex<br>Mar 12 12:55:28 neon kernel: bonding: bond0: link status definitely up for interface eth1.</pre>

But it still says green.  Any idea where my mistake is?<br><br>Thanks for the help Steve!<div><div></div><div class="Wj3C7c"><br><br><br><div><span class="gmail_quote">On 3/12/08, <b class="gmail_sendername">Steve Holmes</b> <<a href="mailto:sholmes42@mac.com" target="_blank">sholmes42@mac.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

Josh,<div>I think Dirk meant the hobbit-clients.cfg file on the server. In my hobbit-clients.cfg file I have (for example):<div><br></div><div>LOG /var/adm/messages %(?-i)WARNING COLOR=yellow IGNORE="%.*fibre-chanel.*"</div>


<div><br></div><div>which says turn yellow for a warning but ignore the given string. And this is on the server.</div><div><br></div><div>Is that not what you want?<br>
<div><br></div><div>Steve.<div><span><br><br><div class="gmail_quote">On Wed, Mar 12, 2008 at 12:08 PM, Josh Luthman <<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>> wrote:<br>


<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">One and only bump on this =)<br><br>Is it possible to specify words or something on the server side to make the msgs test red or yellow?  Dirk here gave me a solution for the client side which works, but if at all possible I'd like to configure it on the server.<br>


<font color="#888888">
<br>Josh</font><div><div></div><div><br><br><div><span class="gmail_quote">On 3/11/08, <b class="gmail_sendername">Josh Luthman</b> <<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



Is there an equal way to do the same thing on the server side?<br> <br><br> <br> <br> On 3/11/08, Dirk Kastens <<a href="mailto:Dirk.Kastens@uni-osnabrueck.de" target="_blank">Dirk.Kastens@uni-osnabrueck.de</a>> wrote:<br>


 > Hi Josh,<br>
 ><br> > Josh Luthman schrieb:<br> > > Is it possible for me to define lines that appear in msgs to activate a<br> > > red or yellow alert?<br> ><br> > Of course. You have to define a match-pattern and a COLOR statement in<br>



 > the LOG entry of your client configuration file. This is explained<br> > inside the client config file localclient.cfg, if you use client side<br> > configuration.<br> ><br> > --<br> > Regards,<br> ><br>



 > Dirk Kastens<br> > Universitaet Osnabrueck, Rechenzentrum (Computer Center)<br> > Albrechtstr. 28, 49069 Osnabrueck, Germany<br> > Tel.: +49-541-969-2347, FAX: -2470<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> ><br> ><br> <br> <br> <br>--<br> 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> Those who don't understand UNIX are condemned to reinvent it, poorly.<br> --- Henry Spencer<br> </blockquote></div><br><br clear="all"><br>-- <br>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>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>--- Henry Spencer
</div></div></blockquote></div><br></span></div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><div><div></div><div class="Wj3C7c">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>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>

--- Henry Spencer
</div></div></blockquote></div><br><br clear="all"><br>-- <br>There is no greater gift to an insecure leader that quite matches a vague enemy who can be used to whip up fear and hatred among the population.<br>-Paul Rusesabagina, humanitarian (b. 1954)<br>
<br>Human beings are perhaps never more frightening than when they are<br>convinced beyond doubt that they are right. -Laurens van der Post, explorer<br>and writer (1906-1996)
</div>