[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New to Hobbit --- file monitoring
- To: hobbit (at) hswn.dk
- Subject: New to Hobbit --- file monitoring
- From: "Scott Mohnkern" <mohnkern (at) gmail.com>
- Date: Wed, 31 Oct 2007 16:00:15 -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:mime-version:content-type; bh=C7l22XIulCWy5jAPw5lFi+r4jNitCs9kbTzNHd2NRms=; b=P/BkDzxJOfAC98B2UCEsuXlofhdlCZ09JD+8yhdtQ3/6mYd4nLnBPgMQ+jNO3sKEZcs4DTDsWo7y7XKDa+0/g/cP4lBxEi3MJOYd/CBrzrdkFpi0PjSTwCjBaFjsWDpIOZ44tH6Ep6gR5s/Sr7yYx3emFHLBmnDEg3L6RUkJu5w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=EXmO4jaw6D7fPtYfwKe968sq4XGe5XS//0dRVk+0Ld6+j2pStnNX4K9DEtBkt5Qn2GEYgB1NTdLPyyu/PyFagYTC2BOE23VSm4K0GUg0YP+Y4FD1M8EFqMs+h5riIJRaguwxJbcbqvgTmJ0IO/S15nVAF7otoiZWMA77Z8gTNNk=
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?