Community discussions

MikroTik App
 
hesam1992
just joined
Topic Author
Posts: 8
Joined: Thu May 23, 2019 9:04 pm

Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Fri Mar 11, 2022 5:22 pm

Hello friends.
Recently i have wrote a web base program with python, to monitoring internet usage for mikrotik.
with this tool you can report internet usage for any user any device at any date you want.
only feature you need to enable on mikrotik is accounting.
today i have prepared an introduction and installation tutorial on youtube.
here are the Links with pleasure:

Introduction To Mikrotik Internet Usage Counter : https://www.youtube.com/watch?v=6meppAsNaoc
Installation Mikrotik Internet Usage Counter : https://www.youtube.com/watch?v=lPosaOTV-5I
Github Link: https://github.com/h-haghpanah/mikrotik ... counter_en

This is completely free program that i have wrote , for support please dont forget to share and SUBSCRIBE :) .
 
User avatar
Jotne
Forum Guru
Forum Guru
Posts: 3328
Joined: Sat Dec 24, 2016 11:17 am
Location: Magrathean

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Fri Mar 11, 2022 7:49 pm

How do you collect the data from the routers?
Script/Snmp/Syslog?

Have you looked at my Splunk prosjekt? Link in signatur.
I did use ip accounting to get data pr device, but since that is removed in 7.x, I have change to Kid control, that do work on both 6.x and 7.x
 
hesam1992
just joined
Topic Author
Posts: 8
Joined: Thu May 23, 2019 9:04 pm

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Fri Mar 11, 2022 11:13 pm

How do you collect the data from the routers?
Script/Snmp/Syslog?

Have you looked at my Splunk prosjekt? Link in signatur.
I did use ip accounting to get data pr device, but since that is removed in 7.x, I have change to Kid control, that do work on both 6.x and 7.x
Using ip>accounting
Just works with 6.x routerOS ,i had looking for a simple way for just internet usage report , all monitoring sofwares , had a lot of feature options and complexity , then i decided to write a python script as a service that collects accounting data and store in mysql database. Then you can report almost any users ip and device seprately …
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Tue Aug 08, 2023 12:51 am

 
hesam1992
just joined
Topic Author
Posts: 8
Joined: Thu May 23, 2019 9:04 pm

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Sun Oct 29, 2023 11:19 am

Hey Jult: i will update this project with mikrotik trafficflow v9 (mikortik accounting is deprecated in RouterOS v7) and also using django web framework, stay patient ...
 
jult
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Sat Dec 26, 2020 1:16 am

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Sun Jan 14, 2024 10:09 pm

Hey Jult: i will update this project with mikrotik trafficflow v9 (mikortik accounting is deprecated in RouterOS v7) and also using django web framework, stay patient ...
Please make use of the basic intention of:
https://github.com/jult/MikrotikTrafficMonitor
All we really need is that chart, with a sort option based on Bytes In or Out, and the ability to drill down per time-slot (last hour, last 6 hours, Today, Yesterday, Last 7 days, Current Week, Month, Last Month, Month of Year etc.).
And then of course the monthly or daily total data traffic, so we can see the outliers, and then check the chart for the culprit on the outlier-day.
And please, have all local IPs tracked, not just mikrotik dhcp leased ones.
 
mabdo
just joined
Posts: 1
Joined: Sun Jun 23, 2024 9:47 am

Re: Tool: A Web base Mikrotik Internet Usage Counter (per user, per ip , per device)

Sun Jun 23, 2024 9:48 am

Hey Jult: i will update this project with mikrotik trafficflow v9 (mikortik accounting is deprecated in RouterOS v7) and also using django web framework, stay patient ...
there is any update about this i need it

Who is online

Users browsing this forum: No registered users and 30 guests