[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New to Hobbit --- file monitoring
- To: hobbit (at) hswn.dk
- Subject: Re: New to Hobbit --- file monitoring
- From: "Scott Mohnkern" <mohnkern (at) gmail.com>
- Date: Thu, 1 Nov 2007 16:09:36 -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=RJHvscto+xD7u/aIx4vfdSe7uIAujGiZ7Pz5VV+0D5w=; b=SNfFNGXqVy5IUlSyYLPjR+hrfUBNAm/Fl0RzrVSbqDkz5xK07ipOBEr/Y6zBJ+I8nQW/xBIIx20LTjFeeAyAmd6zkWxSZIetqPdffENsgrEHJ4ayQtijRsKeeTiVDZscdbqAlR6elwUjgtRbliBgNWh6I0Q+G5livlxQnfe/73s=
- 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=ECHRXflDSYzX8vSCfha8RMrcgxDLdjEJxJSn8/blACdvVvYkJ0WtNXsaFVHc7Pf6yKRE6Dx9PPN7Y0ZMpcZKRZEZi4MrF4VnX2Ys/nr43VLElIyzM9aHVTmmA78WK578A0S4W1IKENgjIry0Nlo28drk8A4QRQT5WpSfyS7WUh4=
- References: <8d4a4baf0710311300i23837580t40ba4aabba0fe23f (at) mail.gmail.com>
When all else fails, nuke it and start over. I did an apt-get remove
hobbit, and then a dpkg -- purge. Then I removed any files I could find.
Then I downloaded the Ubuntu deb file and installed it. It put the
configuration files in /etc/hobbit and it started fine
I edited /etc/hobbit/hobbit-clients.cfg and added the following line:
PROC ntpd 1 99 green "TEXT=NTPD is up"
Restarted hobbit, and in a few minutes, it started reporting as expected.
Then I added:
PORT "LOCAL=%(:8888)" TEXT="Gnump is up"
To the same file, (/etc/hobbit/hobbit-clients.cfg) and restared hobbit.
A few minutes later, the ports section started reporting, as expected.
(Though I realize that its a bit off, which I need to fix)
Then I added:
FILE /etc/passwd GREEN NOEXIST track
Reading the documentation inside hobbit-clients.cfg I edited
/etc/hobbit/client-local.cfg and added the following line:
file:/etc/passwd
restarted hobbit, waited 5 minutes. No luck.
I'm pretty convinced that either:
1. the format of the line in /etc/hobbit/client-local.cfg or
/etc/hobbit/hobbit-clients.cfg is incorrect, or
2. There's something else I need to edit.