[hobbit] DISK test: only monitor specific filesystems

Jones, Jason (Altrincham) JasonAS_Jones at mentor.com
Wed Jun 6 17:39:04 CEST 2007


HOST=wcscbe5

        DISK    /expsys 90 95
        DISK    /expert 90 95
        DISK    /inadsb 90 95

        DISK    * IGNORE


 Try that ^^

 

________________________________

From: Haertig, David F (Dave) [mailto:haertig at avaya.com] 
Sent: 06 June 2007 16:17
To: hobbit at hswn.dk
Subject: [hobbit] DISK test: only monitor specific filesystems

 

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/d53bd00e/attachment.html>


More information about the Xymon mailing list