[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:27:14 -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=1matziSR4c90q4dz9esmXacViuxD4owKaIgJ0c1GD5g=; b=jZO181TCN0BWW0+iZaBTNzhE80lfqOhEMfsP6ZbKmhOrvHMBds4Mcngn7VFNBbGf//Aj3TIbJMJnP4efttEHRvleB1egv8yiQGApP14YdkoFN1ZeeHEV3W8Af04tGDhMLuDaVb1Ob8oSMjhsUnjAAylSLOAqtF9gyoL1jd8qHJk=
- 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=BiW8vnyVbeDftGO4/y6Ou5/pQhms7IGwZ8MCDcvJQyNddtvmdmQO2YnB7HGApDznh/uTqRalDqaTIXyB37mZ3Uw2Q+eAN1moIBdnWiZJoQ0jKUYjGh10ZJ6zdpluzI8NTMsihUkuG3g33UpscUFGo9qv8pkJ8FRnMa2XK5TvLqo=
- 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> <8d4a4baf0711011201y5fcf94d9uda718622dd596bb2 (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C201BEE3BE (at) usplm205.amer.corp.eds.com>
I used the Ubuntu apt-get to install it. There's a hobbit log in
/var/log/hobbit that seems to be getting updated:
I noted the following in clientlaunch.log.1:
Cannot open configuration file /usr/lib/hobbit/client/etc/clientlaunch.cfg:
No such file or directory
It looks like it may be using hobbitlaunch.cfg for the client.
Scott
On 11/1/07, Hubbard, Greg L <greg.hubbard (at) eds.com> wrote:
>
> Did you install this from scratch, or use someone's package to install?
> It is surprising that you have both directories (unless one is a symlink for
> the other).
>
> I use Solaris for the most part, so I had to build my own configuration.
> I don't like to scatter things throughout the file system, so everything
> "server" is under hobbit/server and everything "client" is under
> hobbit/client.
>
> I think there is a log file you can check, but I don't where it might be
> on your system. You might want to glance through the man pages for the
> various daemons and see where they write their logs.
>
> GLH
>
> ------------------------------
> *From:* Scott Mohnkern [mailto:mohnkern (at) gmail.com]
> *Sent:* Thursday, November 01, 2007 2:02 PM
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] New to Hobbit --- file monitoring
>
> 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
> >
> >
> >
>