Xymon Mailing List Archive search

monitoring a directory on a client

list Dominique Frise
Wed, 11 Apr 2007 18:41:12 +0200
Message-Id: <user-5cc5fd0a7dc6@xymon.invalid>

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