[mrtg] RE : real-time throughput measurement

Steve Shipway s.shipway at auckland.ac.nz
Wed Apr 16 06:39:42 CEST 2008


> Ok! I decided to use RRD. I have already mrtg
> installed and working correctly, and I've just
> installed RRD with:
> #apt-get install rrdtool librrdp-perl librrds-perl
> After, I've added this in the mrtg configuration file:
> LogFormat: rrdtool

All of that looks good.

> But, when I re-execute indexmaker, all graphs
> disappeared ... There were only the titles, and when I
> click on one of them, I get a message like this: "The
> requested URL /cgi-bin/14all.cgi was not found on this
> server".

This is correct.  Indexmaker is for use with MRTG in .log mode.  When using .rrd files, MRTG will not create the images or html files, it only creates the .rrd files.  You need to use a frontend such as 14all or routers2 to display the graphs.  If you use routers2 then it takes care of providing a dynamic front menu for you so that you do not need to use indexmaker.

> Should I change my configuration or install 14all.cgi?

You should either install 14all, routers2, or mrtg-rrd.  I would suggest routers2 (but then, I'm biased of course).  You can see a demo of routers2 at http://www.steveshipway.org/cgi-bin/routers.pl and also obtain the software from this site.

>   How can I know if RRD is working correctly with
> MRTG?

Look in the workdir and you should see the .rrd files.  Check that their last modification date is increasing with every poll of MRTG.

Steve



More information about the mrtg mailing list