tell mrtg to use rrdtool instead of rateup and turn your .logs
into .rrds (cf. rrdtool/contrib/log2rrd)
install the cgi into your Webspace®
tell the cgi where the config file is:
edit the cgi and set the path to the mrtg config file or
name it like the config file: mrtg.cfg -> mrtg.cgi
point your web browser to it
if you get a small error message instead of the graphs you can set the variable
"$DEBUG" to 1. if you have the perl GD module installed you will probably
see a more descriptive error message.
This has changed in 14all 1.1p?: Set "14all*GraphErrorsToBrowser: 1"
in your mrtg config file
You might need to patch the scripts if your perl interpreter is not in /usr/bin.
You need to patch the cgi script to tell it where the mrtg.cfg file is.
You need to add use lib "/path/to/where/RRDs.pm"; to the scripts
if they are not in the perl default library search path (@INC). There is already
a line at the beginning of the cgi, uncomment it and change it appropriatly.
If you don't know your perl include path type
perl -e 'print "@INC"' on the command line.