Xymon Mailing List Archive search

monitoring a directory on a client

4 messages in this thread

list Eric Boyd · Tue, 10 Apr 2007 17:28:03 -0700 ·
Hello all.

I am attempting to monitor a randomly disappearing directory on one of my Mac OS X Server clients.

Looking at the docs for hobbit-client.cfg, I should be able to monitor the directories existence with:

HOST=upload.iconla.com

        FILE    /Volumes/raid/upload red type=dir TRACK

I should also be able to monitor the size of that directory by adding the line:

        DIR     /Volumes/raid/upload red size<40522440 TRACK

I expect that this should graph the size of the directory and turn red when it reaches over 19G as well as go red iif the directory disappears.

I know my HOST line is correct as it is already reading my DISK status settings. 
Yet Files Status still shows :

No files checked.


Where have I gone wrong?

-Eric
list Henrik Størner · Wed, 11 Apr 2007 07:51:47 +0200 ·
quoted from Eric Boyd
On Tue, Apr 10, 2007 at 05:28:03PM -0700, Eric Boyd wrote:
I know my HOST line is correct as it is already reading my DISK status settings. 
Yet Files Status still shows :

No files checked.
You must also define the directory (or files) to be checked in the
client-local.cfg file. Until you do, the Hobbit client will not report
any about this file/directory, and the settings in hobbit-clients.cfg
will not have any effect because they have no data to work from.


Regards,
Henrik
list Eric Boyd · Wed, 11 Apr 2007 09:13:15 -0700 ·
hmm, I must still be doing something wrong.

So in hobbit-client.cfg on the hobbit server I have:

HOST=upload.iconla.com

       FILE    /Volumes/raid/upload red type=dir TRACK
       DIR     /Volumes/raid/upload red size<40522440 TRACK

and on the localclient.cfg on upload.iconla.com I have:

HOST=upload.iconla.com
       FILE    /Volumes/raid/upload red type=dir TRACK
       DIR     /Volumes/raid/upload red size<40522440 TRACK

Is this right?
-Eric
quoted from Henrik Størner

Henrik Stoerner wrote:
On Tue, Apr 10, 2007 at 05:28:03PM -0700, Eric Boyd wrote:
  
I know my HOST line is correct as it is already reading my DISK status 
settings. 

Yet Files Status still shows :

No files checked.
    
You must also define the directory (or files) to be checked in the
client-local.cfg file. Until you do, the Hobbit client will not report
any about this file/directory, and the settings in hobbit-clients.cfg
will not have any effect because they have no data to work from.


Regards,
Henrik

list Dominique Frise · Wed, 11 Apr 2007 18:41:12 +0200 ·
quoted from Eric Boyd
Eric Boyd wrote:
hmm, I must still be doing something wrong.

So in hobbit-client.cfg on the hobbit server I have:

HOST=upload.iconla.com

      FILE    /Volumes/raid/upload red type=dir TRACK
      DIR     /Volumes/raid/upload red size<40522440 TRACK

and on the localclient.cfg on upload.iconla.com I have:

HOST=upload.iconla.com
      FILE    /Volumes/raid/upload red type=dir TRACK
      DIR     /Volumes/raid/upload red size<40522440 TRACK

Is this right?
-Eric

Henrik Stoerner wrote:
On Tue, Apr 10, 2007 at 05:28:03PM -0700, Eric Boyd wrote:
 
I know my HOST line is correct as it is already reading my DISK status settings.
Yet Files Status still shows :

No files checked.
    
You must also define the directory (or files) to be checked in the
client-local.cfg file. Until you do, the Hobbit client will not report
any about this file/directory, and the settings in hobbit-clients.cfg
will not have any effect because they have no data to work from.


Regards,
Henrik

NO.

The file for the definition is client-local.cfg (see manpage client-local.cfg(5)), not localclient.cfg.

You must define something like:

[upload.iconla.com]
dir:/Volumes/raid/upload

Dominique
UNIL - University of Lausanne