Hi guys and girls.
I am looking for a way of visualizing the traffic/bandwith usage from clients on the green network, not just in real-time, but history aswell.
The visualization itself is not my question, but how to export this data out of IPfire? I could graph it in Splunk or something if i just managed to export such data.
Does anyone have an idea on how to acomplish this?
tphz
(iptom)
8 December 2022 13:27
2
It is possible that the following two forum topics will give a hint
I see that net-traffic provides usage by interface (red, blue, etc). However I’d like this data to be further broken down by IP address. For example, to answer the question: for all tx data on red, show breakdown by ip address.
I’ve read that net-traffic data is collected by collectd. Does the collected data include the IP address of clients connected to ipfire (for all interfaces)? If so, how can I extract this data?
I’m happy to do this via CLI if someone can point me to the tool to extract…
Hi,
I love IPIFire especially after the feature addition of “IP Address Blocklists” in latest update.
The only thing that’s bugging me is lack of an easy way to monitor and keep record of per IP bandwidth usage.
Can someone guide me with main steps for a DYI approach they are using to achieve what I am after – that is, to visually monitor and keep historical record of per IP data usage?
The command line tools like iptraf-ng and pmacct are not for me.
I tried to pull data from snmp to Zabbix…
Regards
2 Likes
jon
(Jon)
8 December 2022 19:29
3
This is what I use:
It will grab the needed data. LOTS of data…
Nice. Thanks! Looks exactly like what i need.
May i ask how you export this data to a file, if you do so?
jon
(Jon)
9 December 2022 14:10
5
There are sqlite3 commands to export to a CSV file and many other formats:
https://sqlite.org/cli.html#changing_output_formats
I don’t currently export anything. This is how I use pmacct :
https://wiki.ipfire.org/addons/pmacct/pmacct_sqlite3/biggest/step1
3 Likes