[hobbit] Regex help with disk mount points

shea_greg at emc.com shea_greg at emc.com
Tue Dec 5 16:54:26 CET 2006


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:JasonAS_Jones at mentor.com] 
Sent: Tuesday, December 05, 2006 10:08 AM
To: hobbit at hswn.dk
Subject: RE: [hobbit] Regex help with disk mount points

DISK    %^/tidw.* 101	101

?
Jason.

-----Original Message-----
From: shea_greg at emc.com [mailto:shea_greg at emc.com] 
Sent: 05 December 2006 15:01
To: hobbit at hswn.dk
Cc: shea_greg at emc.com
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

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk



To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






More information about the Xymon mailing list