Xymon Mailing List Archive search

Regex help with disk mount points

list Greg Shea
Tue, 5 Dec 2006 10:54:26 -0500
Message-Id: <user-b9e5517e13ee@xymon.invalid>

Hi Jason and all,

Well it turns out the regex will work with or without the quotes.
The problem was actually in my host definition
HOST=smokey, bear

And after going through the documentation yet again, it appears that
one cannot have a white space between the comma and the next host.
HOST=smokey,bear

Once I did that, all was a beautiful shade of green.
Thanks again for the response

-Grs-
Gregory R Shea
EMC Corporation

-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid] 
Sent: Tuesday, December 05, 2006 10:08 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Regex help with disk mount points

DISK    %^/tidw.* 101	101

?
Jason.

-----Original Message-----
From: user-762ee872a5a4@xymon.invalid [mailto:user-762ee872a5a4@xymon.invalid] 
Sent: 05 December 2006 15:01
To: user-ae9b8668bcde@xymon.invalid
Cc: user-762ee872a5a4@xymon.invalid
Subject: [hobbit] Regex help with disk mount points

Hi all,

I'm pulling my hair out on what should be a straight forward regex but
it's not working.
I have a ton of database partitions that the client group doesn't care
about so I'm trying to
create an entry in the hobbit-clients.cfg with the disk values greater
than 100.
Here's my entry:
DISK	"%^/tidw.*" 102 102

With the disk mount points being something like:
/tidwiwdev_db_data01
/tidwiwdev_db_data02
/tidwiwdev_db_data03
/tidwiwdev_db_data04
/tidwiwdev_db_data05
... etc.
/tidwiwapp_db_app01
/tidwiwapp_db_app02
/tidwiwapp_db_app03
/tidwiwapp_db_app04
/tidwiwapp_db_app05
... etc.

What am I not doing correctly??

Thanks
-Grs-
Gregory R Shea
EMC Corporation