[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: "Scott Mohnkern" <mohnkern (at) gmail.com>
- Date: Thu, 1 Nov 2007 15:01:45 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=OOEcWuPUVvSYQ0d3JZDkQ1zgVH9cGHWP/UUIZM0rFFU=; b=RLk565rnQXYpfRtD2mqFrJNxILrF/MwbLuzUjqqZnNC7DFXId913TO1CUmdIuJuGcx7OaFmdJdXrPPVdZjXU4pORV1KbLxKVS/TU9wGfhfdR7OmXkDu7gxHSf8vDO5DJDkj+2DPQwYuwEsQZOSkuzBO4TN2bxjNj/jxybWxxtus=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Bk3zu+cA/p6VcYuhfv8FnMjuUv1qaImgjYxMwELlvEWzl0nbvaSS8kEBImkSvnQIeazZdg8bf6Pi2SjM1g9ZczniVp1s2MWcLogl0hoC55w/CYUtokg7OSVs5Tc56yPgBHtxEpORKAziW9l1aLd6aBsVELGHWokC1xnrlImT6iQ=
- References: <8d4a4baf0710311300i23837580t40ba4aabba0fe23f (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C201BEDD70 (at) usplm205.amer.corp.eds.com> <8d4a4baf0710311538x12081623nf4e11cf2bcb1757f (at) mail.gmail.com> <200711010916.09791.stef.coene (at) docum.org>
Okay, did a file search for hobbit-clients.cfg and found:
/etc/hobbit/hobbit-clients.cfg
Then looked in that file and found:
mohnkern (at) Casa-Scott:/etc/hobbit$ grep FILE hobbit-clients.cfg
# FILE : Changes the "files" status according to meta-data for files.
# FILE filename [color] [things to check] [TRACK]
FILE "/etc/passwd" GREEN NOEXIST TRACK
There's also a hobbit-clients.cfg in /usr/lib/hobbit/server/etc The
entry is there as well.
However, at the hobbit screen, the file entry is still coming up grey, and
"no files being checked"
Scott
On 11/1/07, Stef Coene <stef.coene (at) docum.org> wrote:
>
> On Wednesday 31 October 2007, Scott Mohnkern wrote:
> > Thanks, this was the critical piece of information I was missing. There
> > are client configuration files in /etc/hobbit that I was editing, and
> > clearly they aren't the correct ones. I need to edit the ones in
> > /usr/lib/hobbit/client.
> >
> > Back to editing what I hope is the correct config file. I should be
> able
> > to put
> >
> > FILE "/etc/passwd" GREEN NOEXIST TRACK
> > in ~/usr/lib/hobbit/client/etc/hobbit-clients.cfg
> >
> > and then start the hobbit client with /usr/lib/hobbit/runclient.sh start
> >
> > and get reporting, yes?
> No, this has to go in the hobbit-clients.cfg file on the _server_. The
> server receives the data from the client (including the log file
> information)
> and needs to know what to do with it.
> Before the client sends file information to the server, you need to
> configure
> client-local.cfg on the _server_.
> So all configuration is done on the server.
>
> If the client and the server is the same machine, it can be tricky to find
> the
> right config file. If you install the hobbit server from source, all
> files
> are placed in the same sub directory so it is clear to know what's the
> server
> and what's the client.
>
>
> Stef
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>