[Xymon] PROCS not monitored correctly -what is wrong with this picture?? (Find the error!) (LONG)

Larry Barber lebarber at gmail.com
Tue Apr 9 20:34:00 CEST 2013


Yes all of your "or" expressions should be in parenthesis, not brackets,
what you're saying with the brackets is "match any character contained
within the brackets", so the '|' isn't being interpreted as an "or" but
just as a pipe character to match. So the regular expression ^db[11|12|12
...] is saying "match any phrase that starts with db and has 1 or 1 or | or
1 or 2 ... as a second character, so db1.bo3.example.com certainly matches.

Thanks,
Larry Barber


On Tue, Apr 9, 2013 at 1:28 PM, Betsy Schwartz <betsy.schwartz at gmail.com>wrote:

> heh and as soon as I sent that whole LONG thing, someone on my team points
> out a clue which leads to
> HOST=%^db[11|12|13|21|22|23|31|32|33|61|62].bo3.*
>
> which is of course not a well-formed regexp. I dont' see why it would
> match db1.bo3.example.com, but it's certainly mucked up.
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130409/29a8d0f4/attachment.html>


More information about the Xymon mailing list