[xymon] hobbit-clients.cfg, regex and IGNORE
Stef Coene
stef.coene at docum.org
Fri Dec 24 07:54:22 CET 2010
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
More information about the Xymon
mailing list