[hobbit] disk IGNORE rule in DEFAULT section

Gary Baluha gumby3203 at gmail.com
Fri Mar 30 22:37:39 CEST 2007


On 3/30/07, Charles Jones <jonescr at cisco.com> wrote:
>
> Gary Baluha wrote:
> > DEFAULT
> >    <other non-related DISK IGNORE rules>
> >    DISK    %^/archive[0-9]* IGNORE
> >    DISK    * 90 95
> >
> > I know technically the "DISK *" should probably be "DISK .*", but I
> > thought that's how it was by default.
> > Am I just wrong with my PCRE?
>
> Try this:
> DISK   %^\/archive[0-9]   IGNORE
>
> Note that will also ignore things like /archive10, /archive30, etc. so
> if you want to ONLY ignore 0-9, you need to use this (assuming paths
> like /archiveXX):
> DISK   %^\/archive[0-9]$   IGNORE


Yup, I want to ignore anything /archiveN...N


P.S. Your main problem was not escaping the /


I thought for sure I had stuff working correctly without \/, but I'll give
it a try and see if that helps.  Maybe these were never working right in the
first place and I just never noticed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070330/973e9507/attachment.html>


More information about the Xymon mailing list