[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 16:25:12 -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=qgesrQxWQRmJXBjPaXLFBDVNin8WB6WNAUSXTgd8O9I=; b=OeXxd8epC95Y5adPNPVwVPUhDL+TXPb/uhaZE6ZNSfKLj9Bdu6tGMIOFLNrCj8IJ/38lDNOw5ksBLJ4J1g2NUNDnL89/+FmeS0AtxanPGTaIMYbGDobPY/BEDrK+ENgdvBIrGBvaQ8eEFSbkCtLKt0ygM6aZO9yj3dgS1yrfJBI=
- 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=IPIopjkRnazKb5A6bxRyxuystXD5xA4VxQJ7tF8SEkgqGGaN2MI54sgIjirpMygkLOf4zjfFVJWPKazwEPg7bNid0/ZRwe8VmvzZQydh9l7NrMq/vNBcq03vUj2w7p0422pS2Ie8FWazch+6NfFyQD9EH/aWuUWSqq4qot4y4Yo=
- References: <8d4a4baf0710311300i23837580t40ba4aabba0fe23f (at) mail.gmail.com> <58EF0861D3A1A04182720B3A5231C7C201BEDCF5 (at) usplm205.amer.corp.eds.com>
25 minutes and counting.
I'm actually trying to monitor on the server. (So machine X is where the
hobbit server is running and machine X has the file I'm trying to monitor).
Scott
On 10/31/07, Hubbard, Greg L <greg.hubbard (at) eds.com> 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).
>
> And, of course, you must have a working agent on the remote machine. The
> Hobbit server can run network tests (pings, http, etc.) but it requires
> remote agents in order to perform many of the client tests (CPU, memory,
> disk, file, messages, ports, etc.)
>
> GLH
>
> ------------------------------
> *From:* Scott Mohnkern [mailto:mohnkern (at) gmail.com]
> *Sent:* Wednesday, October 31, 2007 3:00 PM
> *To:* hobbit (at) hswn.dk
> *Subject:* [hobbit] New to Hobbit --- file monitoring
>
> I'm relatively new to Hobbit, but I'm learning quickly. I'm in a mixed OS
> environment, with one Linux server, one linux notebook, 2 windows machines,
> a network printer and a VOIP box. I've managed to get the bb-hosts file so
> it monitors all the equipment, and I've got the ports set so it's checking
> ports on the server.
>
> What I'd like to do is do file checking, starting with just to see if a
> file exists.
>
> I added the following to /etc/hobbit/hobbit-clients.cfg
>
> FILE "/etc/passwd" GREEN NOEXIST TRACK
>
> Just to have it check to see if /etc/passwd existed. (I may have this
> reversed, but more on that later).
>
> Restarting hobbit, and it still showed "no files being checked"
>
> So I added the following to /etc/hobbit//client- local.cfg
>
> file:/etc/passwd
>
> Restarted Hobbit, still nothing.
>
> I'm clearly missing a piece to the puzzle. There's also a directory
> /usr/lib/hobbit but I can't imagine any configure files go there.
>
>
> If it helps, I'm running Ubuntu 7.10.
>
> So if I want to monitor for file existence, on the server, where (and
> what) do I plug in?
>
>
>
>
>
>
>