oh, you are using it under a wild-card (or multi-host) HOST= section thus you want to limit the test to apply to that HOST alone. makes sense then.<br>I think the missing () is somewhat important too. If I recall correctly, I didn't have much sucess until I inserted () myself.
<br><br><div><span class="gmail_quote">On 8/31/06, <b class="gmail_sendername">Gary B.</b> <<a href="mailto:gmbfly98@gmail.com">gmbfly98@gmail.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;">
> I don't use HOST= in my working PORT tracking. I agree with Greg on doing it<br>> via the RegExp itself.<br><br>The problem with that is, it will perform the PORT test on all of the<br>machines under the HOST= section the test is under.  I don't want
<br>this, as only one of the machines actually has the ports running.  I<br>haven't had a problem using HOST= in this manner before, and it's<br>described in the "rules to select hosts" section in the manpage for
<br>hobbit-clients.cfg<br><br>> minor thing: not so sure TRACK= can take all numeric or not.<br>> I believe your RegExp needs (). Mine goes like below. I have PORT column<br>> show and alerts generated, plus RRD graph for counting of TIME_WAIT
<br>> connections to<br>>  PORT LOCAL=%([.:]3306)$ STATE=TIME_WAIT MIN=0 MAX=10000 COL=yellow<br>> TRACK=db_TimeWait TEXT=db_TimeWait<br><br>I was wondering that myself.  I'll try changing to TRACK= to be<br>character-based and see if that helps.
<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote></div><br>