DISK test: only monitor specific filesystems

Haertig, David F (Dave) haertig at avaya.com
Wed Jun 6 17:17:24 CEST 2007


I want to only monitor three specific filesystem on a host, and ignore
the rest.  I tried this in hobbit-clients.cfg:
 
HOST=wcscbe5
        DISK    * IGNORE
        DISK    /expsys 90 95
        DISK    /expert 90 95
        DISK    /inadsb 90 95
 
The above didn't list any filesystems in the textual df listing, but
showed a single graph line for the root filesystem.  The three
filesystems I actually wanted were not there.
 
Next I tried:

HOST=wcscbe5
        DISK    /expsys 90 95
        DISK    /expert 90 95
        DISK    /inadsb 90 95

The above didn't appear to do anything different from the original
default, which was "DISK * 90 95".  All filesystems were shown in the
textual df listing, and all filesystems were graphed.
 
I did not try IGNORE'ing individual filesystems one-by-one, although my
guess is that this might work.  But that would get quite messy to
maintain with most of the computers I'm monitoring, each having dozens
of mounted filesystems (many unique to the specific computer).  And new
filesystems are added fairly regularly, each new filesystem would
require me going back and modifying hobbit-clients.cfg.
 
It would be nice if hobbit-client.cfg could interpret subsequent lines
to override previous lines, as I attempted to configure in my first
test.  Maybe it does do this, and I just missed out on the correct
syntax somehow.  Any hints on how to do this?
 
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070606/0c41f6b2/attachment.html>


More information about the Xymon mailing list