[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: Wed, 31 Oct 2007 18:38:44 -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=oEkj8cvuOAJa5Eb5mcmjkkRU9aYb+ZT/AXPg1Riw8Qk=; b=qNn5AwoU1VCk5qg319fI0G3jy+fhWzELXXHbYrf/DD4CDN6KkWF6rYWgHJikI/VhFSrucUoetc8po+CX3WwYUm1O9CceTlT8VfFXWy22MBZW93WnNHl4Wtw4Z0nZdYxYe86XNuoAGuoqtHY4iyripo1xUIH1iz4u9ZwHX/xX9zg=
- 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=NH1TWl2+KUvlJYLOL/McXw1QKt1rQ8N1MXToUsEh6bySesFFPd8IX/LP5MnG/SFVDxyACZ1BZBS43g18UPCS1fd0jOy2c7upGVob1u/bqxkR/svunF2NkQlmH0QY/zc65A9xLkf7m2DznVxCC3KKsS1EcJNwLwMIz4cFNYrlKaY=
- References: <8d4a4baf0710311300i23837580t40ba4aabba0fe23f (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C201BEDCF5 (at) usplm205.amer.corp.eds.com> <200710312147.22100.stef.coene (at) docum.org> <8d4a4baf0710311352i2db43b1cscd6b0c4f743c9f68 (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C201BEDD70 (at) usplm205.amer.corp.eds.com>
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?
On 10/31/07, Hubbard, Greg L <greg.hubbard (at) eds.com> wrote:
>
> ~/hobbit/client/* is where the client stuff lives. The server runs a
> local client. On remote systems, you usually clone the ~/hobbit/client/*
> part to other machines (assuming the same architecture). As you get more
> into it, you will figure out how to make client distributions.
>
> If you are seeing anything reported for CPU, memory, disk, etc. on your
> server, then the client is running. You don't have to do anything to enable
> it.
>
> ------------------------------
> *From:* Scott Mohnkern [mailto:mohnkern (at) gmail.com]
> *Sent:* Wednesday, October 31, 2007 3:52 PM
> *To:* hobbit (at) hswn.dk
> *Subject:* Re: [hobbit] New to Hobbit --- file monitoring
>
> This may be where I'm getting confused. On the machine where hobbit is
> reporting data, (i.e. the machinename I use for the url) does the client
> need to be running? Where are the config files for the client typically
> stored? I've been editing files /etc/hobbit But I wonder if those are just
> the server files, and not the client files (assuming the client needs to be
> running as well on the machine that is the server.
>
> Scott
>
>
> On 10/31/07, Stef Coene <stef.coene (at) docum.org> wrote:
> >
> > On Wednesday 31 October 2007, Hubbard, Greg L wrote:
> > > How long did you wait? It takes a bit (10 minutes or more) for
> > changes
> > > in client-local.cfg to propagate to the clients (they have to detect
> > the
> > > change, and then pull it in, then act on it, and this takes a couple
> > of
> > > poll cycles).
> > I tried to set up file monitoring today and after 1hr, I fixed it by
> > restarting the hobbit server. Not reloading, restarting. So, restart
> > your
> > hobbit server after you changed the config files and the change is not
> > detected.
> >
> > You can also take a look in the tmp directory of the client. There
> > should be a
> > logfetch file if the client picks up the new configuration. There
> > should be
> > 2 files, one with the settings on the hobbit server and one with the
> > status
> > (this is a file used by the hobbit client to track the logfile).
> >
> >
> > Stef
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe (at) hswn.dk
> >
> >
> >
>