[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: log the logs of iptraf with rmtg?

Short answer would have to be no.  There is no built-in function with
iptraf that enables such tracking.  It is completely real-time, with
exception of the log files that gets generated.

Ugly answer is that it can be possible to work with the generated log
files to do something similar, a script perhaps written in Perl or such
that parses the log file to generate something similar to graphs and

Optimum answer would be to make changes to iptraf source to have it
connect to a database, putting appropriate data into the generated
tables, and use php or such to compile the data and display it via a web

As a matter of fact, I'm doing the "optimum answer" part with a
different program, AirTraf, that does strictly wireless traffic
monitoring.  But since I'm pushing AirTraf to go beyond mac level
traffic monitoring to ip level and beyond for tracking services, much
like iptraf does, the code for much of parsing ip header stuff will be
borrowed from iptraf, meaning I would probably be able to incorporate
"mrtg-like" features for iptraf as well in the process of writing

Only downside is that it's not there yet. :)  It'll probably be another
month or so until something like what you want will be out for use. 
Unless of course, someone has already done something similar, in which
case, I'd definitely be interested in knowing more about it.

Peter K. Lee

On Tue, 2002-02-05 at 11:57, Alexander Bruns wrote:
> Hi,
> I am new to iptraf. Is it possible to monitor the iptraffic in a form
> all traffic for 1 month, 1 week, 1 day, 1 hour, perhaps with
> mrtg-like graphs on a web-page?
> We want to monitor the traffic on our internet-connection and the traffic to
> single hosts and services in the way, that one can see
> the traffic by hour, by week, in the last months etc.
> Is this posstible?
> Greetings
> Alexander Bruns
> Alexander Bruns
> System- und Netzwerkadministration
> FTK - Forschungsinstitut fuer Telekommunikation
> Martin-Schmeisser-Weg 4
> D - 44227 Dortmund
> tel + 49 (0) 231 97 50 56 16
> fax + 49 (0) 231 97 50 56 10
> mail abruns@ftk.de