[hobbit] Question about Disk RULE

Kauffman, Tom KauffmanT at nibco.com
Wed Dec 20 22:24:55 CET 2006


This is that difference between the perl regexp parsing and the shell
parsing we're used to - you want '.*' (dot asterisk) where you have just
'*'. IIRC, in perl, that means 'match any charcter (the dot)' followed
by 'match any number of the previous character (the asterisk)'.

 

Tom

 

________________________________

From: Richard Leon [mailto:rleon at racenter.com] 
Sent: Wednesday, December 20, 2006 3:06 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Question about Disk RULE

 

Ok

I think it is something with my wildcard. 

 

When I added the "DISK /g05 IGNORE" line it did ignore /g05.

But I don't want to have to add every single filesystem.  So  what is
wrong with my wildcard?

 

        DISK %^/i.*/ 100 100

        DISK %^/j.*/ 100 100

        DISK %^/g.*/ IGNORE

 


CONFIDENTIALITY NOTICE:  This email and any attachments are for the 
exclusive and confidential use of the intended recipient.  If you are not
the intended recipient, please do not read, distribute or take action in 
reliance upon this message. If you have received this in error, please 
notify us immediately by return email and promptly delete this message 
and its attachments from your computer system. We do not waive  
attorney-client or work product privilege by the transmission of this
message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061220/2972df79/attachment.html>


More information about the Xymon mailing list