Projects / bofhlog


Bofhlog is a simple tool for "active" and "passive" monitoring of Unix log files. "Active" means that you can see the changes in log files on the screen as new log entries are entered by syslog. It is the same functionality that "tail -f" offers, except that bofhlog can handle logrotate. "Passive" means that you don't have to watch the logs all the time; bofhlog can email or contact you by other means if something "critical" is entered in the log files. "Critical" means that bofhlog can be used both as a lightweight security auditing tool and as an error diagnostic tool for a Unix system.


Recent comments

04 Jun 2003 06:59 kippster

Misleading error
First, great utility, thanks! Second, when I went to have it send mail, I received this message:

Can't locate Mail/Mailer/ in @INC (@INC contains: /usr/lib/perl5/5.6.0/i3 site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_pe...

I don't think a exists. The problem was that I didn't have sendmail or qmail in my path, causing the code on line 1158 to set the params to look for this package.

Adding sendmail to my path made things happy.

15 Oct 2002 13:27 jbwjbw

Re: Nice Util ... But ...
My perl guy figured out the problem.

The following line (starting with #) was replaced with the line below without the # sign.

#getopts("$(opt_debug)$(opt_configfile):", \%opts);
getopts('dc:', \%opts);

- Justin

14 Oct 2002 14:26 jbwjbw

Nice Util ... But ...
This seems to be a nice utility. The only problem I have found is the -c option does not seem to work. It will only read the ~/.bofhlog.conf file and not an alternate file. Not sure if I am missing some thing here but as far as I can tell this is the only thing that is missing or broken.

- Justin


Project Spotlight


A Fluent OpenStack client API for Java.


Project Spotlight

TurnKey TWiki Appliance

A TWiki appliance that is easy to use and lightweight.