[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] hobbit-clients.cfg, regex and IGNORE
- To: xymon (at) xymon.com
- Subject: Re: [xymon] hobbit-clients.cfg, regex and IGNORE
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Fri, 24 Dec 2010 07:54:22 +0100
- References: <4D14393C.8090307 (at) umdnj.edu>
- User-agent: KMail/1.13.5 (Linux/2.6.35-23-generic; KDE/4.5.1; i686; ; )
On Friday 24 December 2010, Ryan Novosielski wrote:
> Hi all,
>
> Was hoping someone could help me understand how these definitions in
> hobbit-clients.cfg:
>
> DISK %^/a IGNORE
> DISK %^/a/.* IGNORE
>
> ...excluded these filesystems in the disk test:
>
> njmsa/AppArchive 10G 8.2G 1.8G 83% /AppArchive
> /dev/md/dsk/d101 1.9G 1.3G 631M 68% /apps_marcy
> /dev/md/dsk/d103 1.9G 1.3G 476M 74% /apps
>
> What I'm trying to exclude are filesystems /a and /a/* (like /a/var,
> /a/usr, etc.).
>
> Hopefully someone's regex-fu is superior to mine. Thanks in advance!
For /a, you can try:
DISK %^/a$ IGNORE
Also try to install txt2reg. This is a command line utility to build up
regular expressions.
Stef