I recently got a mail from someone (hi
Dennis!) about how
the MRTG totals script works on
the MRTG site. For those too lazy to look at the totals page, the general idea is that the total transfer statistics for a device - in this case my ADSL router - are displayed all on one page. In this way you can see easily how much data was transferred either by month or by day for any period during which the mrtg_total script has been collating data.
I use a perl script written by a chap called Josef Wendel to collate the stats pages from a daily cron job. The stats can then be displayed using a PHP script, again written by the same bloke.
I can't find a specific reference to Josef's home site, but I'm sure googling for 'josef wendel perl mrtg' should turn something up (or even just google for 'mrtg_total.pl', the name of the script. Just in case I'll add the scripts in the extended entry here anyway, I'm sure Josef won't mind given I just mentioned his name about half a dozen times here in credit!!!
Excellent script thanks for that Josef.
EDIT:
Yes
a quick google for mrtg_total.pl came up with
Josef's home page for the mrtg total script. Go google! See over there for more 'authoratative' info.
See the extended article for the complete mrtg_total.pl script and associated PHP frontend script.