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 52.0k 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.
    • jdillardJ
      jdillard
      last edited by

      @MyKroFt:

      Can the save defaults also save which graph of the 4 for default as well?

      Oops forgot to test that part, I'll get that in 0.6.

      @MyKroFt:

      also can the left side numbers be shortened MB,GB,TB etc?

      That is #6b on the TODO list. I have to figure out how to make a custom format for the axis ticks since it uses 1024, instead of 1000 for SI units.

      1 Reply Last reply Reply Quote 0
      • luckman212L
        luckman212 LAYER 8
        last edited by

        @jdillard:

        Maybe try upgrading pfSense to the latest snapshot. I already had it installed on 2.3.2.a.20160715.0559 and was able to upgrade to 0.5. Sometimes if work is done to the package system it can mess with package upgrades showing up.

        Oh I think I know why, because I'm on factory, not CE.  Maybe those take a little longer to show up.  I see CE 20160718-1342 is out but I don't want to switch to the CE track.  Did that once before and I wound up having to pave the box to get back on factory.

        1 Reply Last reply Reply Quote 0
        • jdillardJ
          jdillard
          last edited by

          ah yes, that is most likely the case. FWIW, 2.3.2 will be out pretty soon.

          Also, during the snapshots phase packages are only revved when a new snapshot is built. In production, packages can be revved independently so it can rev more frequently.

          1 Reply Last reply Reply Quote 0
          • M
            MyKroFt
            last edited by

            Any more updates?

            Thanks
            Myk

            1 Reply Last reply Reply Quote 0
            • A
              athurdent
              last edited by

              This is a really nice package and it looks great, thanks jdillard!

              1 Reply Last reply Reply Quote 0
              • B
                BabaBooey
                last edited by

                Yeah, thanks a bunch  :D

                1 Reply Last reply Reply Quote 0
                • jdillardJ
                  jdillard
                  last edited by

                  Thanks for all the help and for being patient!

                  I'll try to continue to improve it (the known issues) over time.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cino
                    last edited by

                    @jdillard Just wanted to let you know that I upgraded to pfSense 2.3.2 today and installed the new Traffic Totals package. It picked up my current vnstat DB with no issues. Between this package and the vnStat Web Interface, I'm able to display a years worth of data if needed.

                    Btw great work on the new package!

                    1 Reply Last reply Reply Quote 0
                    • T
                      topoldo
                      last edited by

                      Two things make me to stay away from 2.3.x version until now, the most important being the lack of the possibility to receive by email the report of the daily activity of my pfSense bridge-firewall.
                      Now, I went back from vacations, and I found this thread. This allow to me to try to re-test pfSense 2.3.x: many hanks to jdillard!
                      Anyway, maybe I missed something, but my dumb question is now: "Does this package allow to send a daily mail with the graph report(s) of the activity of the interface(s) or it simply gives the opportunity to view 'online' the activity of a pfSense device along a large period of time?"

                      Thanx,
                      Topoldo

                      1 Reply Last reply Reply Quote 0
                      • M
                        MyKroFt
                        last edited by

                        It just to view web pages at the moment - but

                        I installed the mailreport plugin and daily run following command:

                        /usr/local/bin/vnstat -i re0 ; /usr/local/bin/vnstat -i re0 –exportdb

                        you can run any vnstat options you want and multi commands by using ";" between them

                        and they show up at exactly 12am/daily that I have it set for

                        take a look at the mailreport plugin - i think it will do what you want/need

                        Myk

                        @topoldo:

                        Two things make me to stay away from 2.3.x version until now, the most important being the lack of the possibility to receive by email the report of the daily activity of my pfSense bridge-firewall.
                        Now, I went back from vacations, and I found this thread. This allow to me to try to re-test pfSense 2.3.x: many hanks to jdillard!
                        Anyway, maybe I missed something, but my dumb question is now: "Does this package allow to send a daily mail with the graph report(s) of the activity of the interface(s) or it simply gives the opportunity to view 'online' the activity of a pfSense device along a large period of time?"

                        Thanx,
                        Topoldo

                        1 Reply Last reply Reply Quote 0
                        • P
                          pwnell
                          last edited by

                          Perhaps a very stupid question - but I am on 2.3.2-RELEASE (x64), and I have just installed Status_Traffic_Totals 1.1_1.  It works, however I do not see vnstat anywhere - it is not available in the Available Packages list, and it is not part of my cron jobs.  Hence no data is being gathered.

                          I am to set up vnstat manually?

                          1 Reply Last reply Reply Quote 0
                          • B
                            BabaBooey
                            last edited by

                            Vnstat is included as far as I can tell. I didn't need to install any other packages, works fine here :)
                            When you just installed it, you need to give it some time for it to gather the data.

                            1 Reply Last reply Reply Quote 0
                            • jdillardJ
                              jdillard
                              last edited by

                              vnStat is a just package dependency, the package shows up in Status > Traffic Totals and you have enable graphing in there. You can also run vnStat commands from the command prompt if you want after that.

                              Once you enable it, you should have:

                              */5	*	*	*	*	root	/usr/local/bin/vnstat -u
                              

                              in your cron jobs (you might have to install the Cron package to see it)

                              1 Reply Last reply Reply Quote 0
                              • P
                                pwnell
                                last edited by

                                Aha now I see.  I had to first disable it, then enable it, and only then did it add the vnstat cron entry.  Before I explicitly disabled it and reenabled it, the crontab entry was not there.  After I initially installed the package, it was enabled by default.  Perhaps a small bug?

                                Thanks!

                                1 Reply Last reply Reply Quote 0
                                • jdillardJ
                                  jdillard
                                  last edited by

                                  Did you have vnStat already installed before you messed with the Traffic Totals package?

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pwnell
                                    last edited by

                                    Quite possible as I had vnstat2 installed, then upgraded from 2.1 to 2.2 before, which dropped support for vnstat2.  I never cleaned it out manually.

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by

                                      So I on accident deleted the vnstat cron job.  Not I can seem to get it back..  I have reinstalled the package, I have deleted the package and then reinstalled.  No cron.  I have disabled the cumulative graphing and then re-enabled it.. Nothing.  Reset all graph data.. Just not seem to put this cron job back in??

                                      I can manually put back, but shouldn't a reinstall of the package check that the cron is there.  Or a turn off and back on of the cumulative put it back, etc..?

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • jdillardJ
                                        jdillard
                                        last edited by

                                        @johnpoz:

                                        I can manually put back, but shouldn't a reinstall of the package check that the cron is there.  Or a turn off and back on of the cumulative put it back, etc..?

                                        It should, that's odd behavior that it won't add a cron on re-install. I'll have to look into it, it's related to #14 on the known issues list.

                                        1 Reply Last reply Reply Quote 0
                                        • johnpozJ
                                          johnpoz LAYER 8 Global Moderator
                                          last edited by

                                          Well I can leave it as and see if it shows up when new version comes out, etc.

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            maverick_slo
                                            last edited by

                                            Hello!

                                            Are any updates planned to make it to release that will happen soon?
                                            Like correct iface names :) ?

                                            Thanks!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.