[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] New to Hobbit --- file monitoring
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] New to Hobbit --- file monitoring
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Thu, 1 Nov 2007 22:01:59 +0100
- References: <8d4a4baf0710311300i23837580t40ba4aabba0fe23f (at) mail.gmail.com> <200711012120.01466.stef.coene (at) docum.org> <961092e10711011330v2f35b3al9a4059fa29723e5a (at) mail.gmail.com>
- User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
On Thursday 01 November 2007, Josh Luthman wrote:
> I've compiled my server and client from source. I know the client is
> reporting to my server as it reports the cpu/load/disk/etc just fine.
>
> At the bottom of my /home/shire/server/etc/hobbit-clients.cfg
>
> HOST="%myhost.foo.bar" #also tried it without the %, i know that my BBD had
> %, not sure what it means =)
> FILE "/etc/passwd" GREEN NOEXIST TRACK
>
> I still get "no files checked after two rewrites of the page.
In config file server/etc/client-local.cfg you specify what logfile the client
will report to the server. You have to add a section for your client to it.
Once the client picks this up (to be sure restart the hobbit server and wait
at least 10 minutes), the msgs column should be green and the logfile should
appear on it.
Once this works, you can change hobbit-clients.cfg so the server knows the
yellow and green conditions.
Stef