Xymon Mailing List Archive search

New to Hobbit --- file monitoring

list Scott Mohnkern
Wed, 31 Oct 2007 16:25:12 -0400
Message-Id: <user-3ee764133b68@xymon.invalid>

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 <user-d970b5e56ec9@xymon.invalid> 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:user-1386a26b8c7d@xymon.invalid]
*Sent:* Wednesday, October 31, 2007 3:00 PM
*To:* user-ae9b8668bcde@xymon.invalid
*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?