https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162019-12-19T22:44:48ZpfSense bugtrackerpfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=435462019-12-19T22:44:48ZJim Pingle
<ul></ul><p>Affects both 2.5.0 and 2.4.5</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=439302020-01-02T09:29:10ZJim Pingle
<ul><li><strong>Target version</strong> set to <i>2.4.5</i></li></ul> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=439362020-01-02T11:25:41ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> changed from <i>Jared Dillard</i> to <i>Jim Pingle</i></li></ul><p>I'm looking at this. Needs a bit of work, lots of big changes between 1.x and 2.x.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=439382020-01-02T15:29:26ZJim Pingle
<ul><li><strong>Assignee</strong> changed from <i>Jim Pingle</i> to <i>Jared Dillard</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>90</i></li></ul><p>I committed my progress so far. All of the backend code should be OK now. See the commit message for details.</p>
<p>devel: <a class="external" href="https://github.com/pfsense/FreeBSD-ports/commit/716da29887a02922ddb4eb5e59702ef048be759f">https://github.com/pfsense/FreeBSD-ports/commit/716da29887a02922ddb4eb5e59702ef048be759f</a><br />RELENG_2_4_5: <a class="external" href="https://github.com/pfsense/FreeBSD-ports/commit/3e425a7a6592c0b42c3fbbb6771dd3e098801d5c">https://github.com/pfsense/FreeBSD-ports/commit/3e425a7a6592c0b42c3fbbb6771dd3e098801d5c</a></p>
<p>The frontend still needs some work. The JSON format changed so the code likely needs more adjustments than what I found already.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441292020-01-10T07:03:15ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul><p>Jared pushed the remaining required fixes yesterday, so it should be ready to test once that's in snapshots</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441532020-01-10T14:45:53ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>I've tried this on a variety of 2.4.5 and 2.5.0 systems both CE and Factory and with pkg version 2.3 it seems to be OK. Data is still there after a reinstall on the new version as well.</p>
<p>If new problems are discovered, they can be handled on individual new issues as needed.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441902020-01-14T01:35:05ZMichael Kellogggrandrivers@gmail.com
<ul></ul><p>something is off in units on 2.5 at least since up date from 12:00 to 2:30 in morning and on 18M dsl its already showing Tib of traffic</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441912020-01-14T01:37:55ZMichael Kellogggrandrivers@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/2906">Screen Shot 2020-01-14 at 2.36.52 AM.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2906/Screen%20Shot%202020-01-14%20at%202.36.52%20AM.png">Screen Shot 2020-01-14 at 2.36.52 AM.png</a> added</li></ul> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441942020-01-14T08:11:42ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>In Progress</i></li></ul><p>I'm seeing that now as well. The command line shows what appears to be more accurate data.</p>
<pre>
: vnstat -d
WAN (vmx0) / daily
day rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
2020-01-10 447.36 MiB | 431.32 MiB | 878.68 MiB | 85.31 kbit/s
2020-01-11 194.85 MiB | 631.30 MiB | 826.15 MiB | 80.21 kbit/s
2020-01-12 194.53 MiB | 631.03 MiB | 825.56 MiB | 80.15 kbit/s
2020-01-13 489.36 MiB | 643.53 MiB | 1.11 GiB | 109.99 kbit/s
2020-01-14 165.94 MiB | 243.08 MiB | 409.02 MiB | 104.93 kbit/s
------------------------+-------------+-------------+---------------
estimated 438.45 MiB | 642.26 MiB | 1.06 GiB |
</pre>
<p>Might be a units issue as the CLI data shows MiB and the GUI seems to think it's GiB but the numbers seem to . So maybe the GUI is applying a calculation to the data it doesn't need from this version.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441952020-01-14T08:16:31ZJim Pingle
<ul><li><strong>Assignee</strong> changed from <i>Jared Dillard</i> to <i>Jim Pingle</i></li></ul><p>I have a fix for this. Values are coming in Bytes by default, old base was KiB, so it needs adjusted to match.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=441982020-01-14T08:34:53ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>Try again once pkg 2.3.1 is available with the next snapshot run.</p> pfSense Packages - Todo #9392: Status_Traffic_Totals needs updated for vnstat 2.0https://redmine.pfsense.org/issues/9392?journal_id=442072020-01-14T12:10:38ZJim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Totals match up with expectations on pkg v 2.3.1.</p>