Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Monthly data usage
« previous
next »
Print
Pages: [
1
]
Author
Topic: Monthly data usage (Read 6054 times)
CJ
Hero Member
Posts: 832
Karma: 30
Monthly data usage
«
on:
April 07, 2021, 01:57:14 am »
Is there a way to get monthly data usage reports? Preferably ones that we can line up with our billing cycle? I used to be able to do this with pfsense but I haven't found a way in opnsense yet.
The existing usage tools seem good for investigating, etc, but don't show an overall monthly report. Or at least not that I saw.
Thanks.
Logged
Have Answer, Will Blog
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: Monthly data usage
«
Reply #1 on:
April 07, 2021, 09:27:35 am »
Install netflow if you haven't already, go to Reporting, Insight, Export tab. Set the collection to FlowInterfaceTotals, resolution to 3600 seconds and the date range to your last billing cycle.
Open the CSV, filter on your WAN connection (e.g. pppoe0), inbound direction, and sum the octets column. This will give a (reasonably accurate) total of bytes ingress.
Bart...
Logged
Koldnitz
Jr. Member
Posts: 84
Karma: 13
Re: Monthly data usage
«
Reply #2 on:
April 07, 2021, 12:27:01 pm »
Install Vnstat.
It gives you hourly daily and monthly totals.
Has been right on with what Comcast / Xfinity says I use monthly.
Cheers,
Logged
Ricardo
Full Member
Posts: 233
Karma: 12
Re: Monthly data usage
«
Reply #3 on:
April 08, 2021, 07:57:37 pm »
LOL, netflow is like nuclear bomb against 1 soldier.
Use vnstat, that was made exactly for that!
Logged
CJ
Hero Member
Posts: 832
Karma: 30
Re: Monthly data usage
«
Reply #4 on:
April 11, 2021, 09:53:53 pm »
vnstat looks good and will give me a rough idea of my usage. I would prefer something I could sync to my billing cycle but this will do for now.
Thanks.
Logged
Have Answer, Will Blog
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Monthly data usage