Page 1 of 1

IPTRAF to MySQL database

Posted: Tue Dec 28, 2004 2:13 am
by sorinbuda
Hi,

Does anybody knows how can I get the traffic data from the router directly into a MuSQL database without sing the Traffic Counter application from MicroTik?

Thank you in advance,
Sorin

Posted: Tue Dec 28, 2004 11:15 am
by [ASM]
see in docs for /ip accounting and make a script that adds the data to database

Posted: Mon Jan 03, 2005 9:31 pm
by gianluca
if there is any news on it I am interested. thanks

Posted: Tue Jan 04, 2005 12:34 pm
by sorinbuda
see in docs for /ip accounting and make a script that adds the data to database
Yes, Thanks. I know how to get data out from MySQL but I do not know how to add it. Can enybody give some help with this?


Thank you in advance.

Posted: Tue Jan 04, 2005 3:26 pm
by workshop
Huh ?

I answered this one a few hours ago but my post dissappeared ?

Youll find a great solution here: http://www.fament.com/mikrotik/

Its free to download. Read the readme's at the beginning of each file

Thanks

Posted: Tue Jan 04, 2005 9:43 pm
by nikhil
I was looking for something just like this . I am going to check this out

Looks cool and is perl & php .

IP Accounting System v1

Bill per Mbit used don't need to be hard!
IP Accounting System is a collection of scripts that will connect to
your Mikrotik router and collect the accounting data from it.
It currently consist out of 3 parts.
1) Accounting Collector
2) Daily Accounting Summarizer
3) Datamining interface

Thanks for the link