Blame contrib/mrtglog/README

Packit 667938
/*****************************
Packit 667938
 ** woho's MRTG Logfile cgi **
Packit 667938
 *****************************/
Packit 667938
Packit 667938
This is a very simple MRTG logfile summarizer.
Packit 667938
I don't give any warranties at all. I wrote and use it under Linux (SuSE
Packit 667938
Distribution).
Packit 667938
Packit 667938
How to use:
Packit 667938
At first you should read and correct the enclosed mrtglog.h,
Packit 667938
e.g. for english language, if necessary. Then compile the code, using
Packit 667938
Packit 667938
 gcc -o <your cgi directory>/mrtglog.cgi ./mrtglog.c
Packit 667938
Packit 667938
The usage is simple, e.g.:
Packit 667938
Packit 667938
 ./mrtglog 01/05/03 31/05/03 mrtg.log
Packit 667938
Packit 667938
counts all traffic in May 2003. B-)
Packit 667938
I use a simple PHP3 script for calling it from my stats.php3 page:
Packit 667938
Packit 667938
 
Packit 667938
  printf("LOG",
Packit 667938
          date("y",time()),date("d.m.y",time()));
Packit 667938
 ?>
Packit 667938
Packit 667938
If you have questions, please send me an e-mail: woho@netpark.at
Packit 667938
Wolfgang Hoffmann, Austria, http://www.woho.at
Packit 667938
#