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