NAPLOT - net-acct.log plotter
Version 0.2
2002-Jul-25
Copyright (c) 2002 Thomas Liske. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms stated in the GNU Gerneral Public
Lincense as published by the Free Software Foundation;
either version 2, or (at your option) any later version.
Please note that this program is distributed in the hope
that it will be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
DESCRIPTION
===========
This little perl script analyses your net-acct log file and draws a
year-traffic chart.
You can run it multiple times over the same log file to get a daily
updated chart.
example chart
PREREQUISITES
=============
Perl of course and the pgperl package (so you will need pgplot5 too).
A good idea is to have net-acct running... or how ever you get a log file.
Each line of the log file must match:
/^(\d+)\s+\d+\s+(\S+)\s\d+\s+\S+\s+\d+\s+(\d+)/;
| | |
time source-ip bytes
GET IT
======
Download it from this site:
Wed Jul 24 2002 v0.1 - naplot-0.1.tar.gz
Thu Jul 25 2002 v0.2 - naplot-0.2.tar.gz
INSTALLING
==========
After uncompressing put the naplot.cfg in /etc/ and naplot in you favorit
directory (I suggest using /usr/local/sbin/). Then edit the /etc/naplot.cfg
file to match your needs - you sure will have to create one new directory
for the statefiles!
Finally you could put a line to crontab, so the chart is updated daily.
KNOWN PROBLEMS
==============
None at this time.
AUTHOR
======
Thomas Liske <Thomas.Liske@web.de> http://fiasko.go.dyndns.org/