[hobbit] monitoring a directory on a client

Dominique Frise Dominique.Frise at unil.ch
Wed Apr 11 18:41:12 CEST 2007


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
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>   
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 

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



More information about the Xymon mailing list