• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

New Traffic Totals package available for testing

Scheduled Pinned Locked Moved Traffic Monitoring
121 Posts 37 Posters 53.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MikeV7896
    last edited by Jul 7, 2016, 10:10 PM

    Installed 2.3.2 just for this… was going to try and wait until release, but now you did this. :)

    So far in favor of all mentioned items... save default graph settings, sortable table, and most recent period at the top.

    My comment is that it seems to be showing an average speed for the period rather than the actual amount of data. Maybe make that an option as well? Some people might care about the average speed for the period... but most are more interested in the actual amount of data transferred instead.

    Additionally, it would be good to see vnstatd added to the Services widget on the dashboard, so we can make sure it's running and properly tracking traffic.

    The S in IOT stands for Security

    1 Reply Last reply Reply Quote 0
    • J
      jdillard
      last edited by Jul 7, 2016, 10:23 PM

      @virgiliomi:

      My comment is that it seems to be showing an average speed for the period rather than the actual amount of data. Maybe make that an option as well? Some people might care about the average speed for the period… but most are more interested in the actual amount of data transferred instead.

      What leads you to believe it is average? It should be totals.

      @virgiliomi:

      Additionally, it would be good to see vnstatd added to the Services widget on the dashboard, so we can make sure it's running and properly tracking traffic.

      It uses a cron job not vnstatd, I thought it would be more reliable. You can see the cron job if you install the cron package. I also haven't added the functionality that lets you change how often the cron job runs yet.

      1 Reply Last reply Reply Quote 0
      • M
        MikeV7896
        last edited by Jul 7, 2016, 10:33 PM

        @jdillard:

        @virgiliomi:

        My comment is that it seems to be showing an average speed for the period rather than the actual amount of data. Maybe make that an option as well? Some people might care about the average speed for the period… but most are more interested in the actual amount of data transferred instead.

        What leads you to believe it is average? It should be totals.

        I've been watching a 5Mbps+ video stream for the past 45 minutes… yet for this hour (25 minutes so far), it's not showing anywhere near the amount of traffic showing it should be showing... Unless the numbers are really megabytes? The unit on the graph says "bits per second"... that's clearly not right.

        Capture.PNG
        Capture.PNG_thumb

        The S in IOT stands for Security

        1 Reply Last reply Reply Quote 0
        • J
          jdillard
          last edited by Jul 7, 2016, 10:35 PM

          I believe I have the units represented wrong, it looks like it should be KiB/MiB/etc. Thanks for catching that!

          1 Reply Last reply Reply Quote 0
          • M
            MyKroFt
            last edited by Jul 7, 2016, 10:41 PM

            ya, mine shows today aprox 10mb, old graph shows right at 9.xg

            Myk

            1 Reply Last reply Reply Quote 0
            • M
              MikeV7896
              last edited by Jul 7, 2016, 10:45 PM

              Ok, that's what screwed me up then. :)

              As for cron versus service… It's not a big deal to me either way... I just wasn't sure how it was running. I did quickly pick up that it was updating every 5 minutes though.

              The S in IOT stands for Security

              1 Reply Last reply Reply Quote 0
              • M
                MyKroFt
                last edited by Jul 7, 2016, 10:55 PM

                Also on the side of the graphs - Traffic (Bits per Second) - does not work - its total traffic - no speed

                Myk

                1 Reply Last reply Reply Quote 0
                • J
                  jdillard
                  last edited by Jul 7, 2016, 10:59 PM

                  Yea, I think that was an artifact of using the Status > Monitoring as a starting point. I'll try and get some of these fixes in tomorrow.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MikeV7896
                    last edited by Jul 8, 2016, 1:28 AM

                    Just wondering about why PHP is listed as a dependency for the package. Isn't PHP part of the whole pfSense ecosystem anyway? Or is that for future planning if it goes away? Does this potentially cause problems if PHP is upgraded by pfSense core, but the package isn't updated to reflect the new version of PHP, when someone goes to install the package?

                    The S in IOT stands for Security

                    1 Reply Last reply Reply Quote 0
                    • A
                      athurdent
                      last edited by Jul 8, 2016, 7:53 AM

                      @jdillard:

                      It uses a cron job not vnstatd, I thought it would be more reliable.

                      Why is the vnstatd daemon unreliable on FreeBSD? Had it running for years on a Linux box with no problems at all.

                      1 Reply Last reply Reply Quote 0
                      • M
                        MikeV7896
                        last edited by Jul 8, 2016, 5:45 PM

                        @athurdent:

                        @jdillard:

                        It uses a cron job not vnstatd, I thought it would be more reliable.

                        Why is the vnstatd daemon unreliable on FreeBSD? Had it running for years on a Linux box with no problems at all.

                        He didn't say that it was unreliable on FreeBSD… just that he thought it would be more reliable as a cron job. Using the cron job, it's only running every 5 minutes rather than a constantly running process that could be stopped at any time leaving holes in the data.

                        I see pluses and minuses to both ways... I personally have no preference. I just want it to work and accurately track my usage. It doesn't need to be minute-by-minute... updating every 5 minutes is fine by me. Most of what I care about (and probably most people) is monthly usage more than anything.

                        The S in IOT stands for Security

                        1 Reply Last reply Reply Quote 0
                        • R
                          robi
                          last edited by Jul 8, 2016, 5:58 PM

                          Hmmm…

                          Is this topic about the new graphing system on 2.3 which replaced RRD? Or is it an addition to that? Or is it just a similar graphing to what's already built-in?
                          Why as a separate package?

                          1 Reply Last reply Reply Quote 0
                          • A
                            athurdent
                            last edited by Jul 8, 2016, 7:28 PM

                            @virgiliomi:

                            He didn't say that it was unreliable on FreeBSD… just that he thought it would be more reliable as a cron job. Using the cron job, it's only running every 5 minutes rather than a constantly running process that could be stopped at any time leaving holes in the data.

                            Cron jobs are run by a daemon that could also be stopped at any time ;) So the question remains, why not use the vnstat daemon? Don't get me wrong, I just want to understand it, don't want to offend anyone :)

                            1 Reply Last reply Reply Quote 0
                            • J
                              jdillard
                              last edited by Jul 8, 2016, 9:28 PM

                              @virgiliomi:

                              Just wondering about why PHP is listed as a dependency for the package. Isn't PHP part of the whole pfSense ecosystem anyway? Or is that for future planning if it goes away? Does this potentially cause problems if PHP is upgraded by pfSense core, but the package isn't updated to reflect the new version of PHP, when someone goes to install the package?

                              I had a line in the Makefile that didn't need to be there. I'll be taking it out and it should remove the PHP dependancy.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jdillard
                                last edited by Jul 8, 2016, 9:30 PM

                                @athurdent:

                                @jdillard:

                                It uses a cron job not vnstatd, I thought it would be more reliable.

                                Why is the vnstatd daemon unreliable on FreeBSD? Had it running for years on a Linux box with no problems at all.

                                It's not unreliable on FreeBSD, just harder to tie into all the necessary GUI bits last time I looked. Maybe I was looking at it wrong.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jdillard
                                  last edited by Jul 8, 2016, 9:34 PM

                                  @robi:

                                  Hmmm…

                                  Is this topic about the new graphing system on 2.3 which replaced RRD? Or is it an addition to that? Or is it just a similar graphing to what's already built-in?
                                  Why as a separate package?

                                  TL;DR: RRDTool graphing dependancies got too large so we cut them out. Part of that was the function that provided the period totals. Period totals using RRD data aren't that accurate to begin with since they get averaged out over time. vnStat handles the collection of historical traffic totals better and is more accurate, hence the addition. Also, not everyone cares about traffic totals so no need to bundle it in core and having it as a package allows it to be revved separate from core.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    robi
                                    last edited by Jul 9, 2016, 5:40 AM

                                    @jdillard:

                                    Period totals using RRD data aren't that accurate to begin with since they get averaged out over time. vnStat handles the collection of historical traffic totals better and is more accurate, hence the addition. Also, not everyone cares about traffic totals so no need to bundle it in core and having it as a package allows it to be revved separate from core.

                                    In that case, replacing Period totals with vnStat in the future would make many people happy.

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      grandrivers
                                      last edited by Jul 9, 2016, 1:26 PM

                                      under interfaces 2 of my 4 interfaces dont show but if i click the blank area datas there

                                      pfsense plus 25.03 super micro A1SRM-2558F
                                      C2558 32gig ECC  60gig SSD

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        timotl
                                        last edited by Jul 9, 2016, 4:10 PM

                                        I don't see anything in the interface selection.
                                        I can click through the blank space and it does follow
                                        I'm using VLANS on a single LAGG of two physical interfaces.
                                        The totals do show up for my physical and ovpn interfaces, but none of those are assigned labels.

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jdillard
                                          last edited by Jul 11, 2016, 4:16 PM Jul 11, 2016, 4:09 PM

                                          Ok I'll have to look into the code that generates the interface names, I have a feeling it is making the option element, but not populating it with content. Grandrivers, do you happen to know what makes those 2 interfaces that aren't showing up different from the others (based on type, etc)?

                                          1 Reply Last reply Reply Quote 0
                                          16 out of 121
                                          • First post
                                            16/121
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received