

dlog v1.0.0


Before you begin
================

If you just want to get raw numbers from the logfiles, then you should use
the data collecting tools directly. Look in the SPEC file for information on 
what each tool can provide. (But you need to complete the "Compile and Install"
anyway).

If you want to store data in RRDTool databases, and make pretty graphs, 
read on.



Compile and Install
===================

I hope you have perl, lex, yacc and a C-compiler already installed on your system.

$ tar xvzf dlog-1.0.0.tar.gz
$ cd dlog-1.0.0
$ perl configure.pl
$ make 
..
$ make install

If you want to install dlog in another place then /usr/local/dlog - use the 
"-h" argument for configure.pl - and see what you can do.


Let's go
========

./dodlog.pl tinydns init

Add the following lines to your crontab:

*/5      *       *       *       *       root    /usr/local/dlog/bin/dodlog.pl tinydns update /service/tinydns/log/main/ 
*/5      *       *       *       *       root    /usr/local/dlog/bin/dodlog.pl tinydns graph

Remember to point dodlog.pl to YOUR logfiles!

If you want you can setup the following services in the same way:

axfrdns dnscache qmail qsmtp rbldns tinydns publicfile

Now point your webserver to /usr/local/dlog/stats (or whatever you decided
for STATPREFIX).

You can make a small script the containts the commands, instead of putting them
all in crontab. That way you won't mess up your crontab with a lot of entries. 


That was quick, wasn't it? Now go read README, dlog can do more.


