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

    Vnstat added to package tree

    Scheduled Pinned Locked Moved pfSense Packages
    11 Posts 5 Posters 29.5k 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.
    • P
      Perry
      last edited by

      Why now
      Bjorge Dijkstra updated his php-frontend to vnstat with svg support and I do like the quick overview it gives.

      What is it
      @http://humdi.net/vnstat/:

      vnStat is a network traffic monitor
      vnStat isn't a packet sniffer

      @http://www.sqweek.com/sqweek/index.php?p=1:

      Since vnStat is console mode only I created this script to make a 'nice' report of the data collected by vnStat

      Faq

      • Do to my noob php skills every nic is added on install. So if a nic is added to your pfSense box later on remove the package and install again.
      • To clear database for a nic, delete it from /var/db/vnstat/
      • update happens every minute.
        vnstat.png
        vnstat.png_thumb

      /Perry
      doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • D
        dvserg
        last edited by

        Good job. I'm like this  ;D

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

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

          A stupid question, but do I need some kind of monitoring agent to run in order to get this package to work and collect data?

          Or is installing the package come with the front end + collecting data agent? Is this package considered stable for production envoirments?

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

            Or is installing the package come with the front end + collecting data agent

            Correct

            Is this package considered stable for production envoirments?

            I would say yes, I have been using vnstat with php frontend for some time, But as pfSense user do have a huge variety of setup's it's hard to mark it stable right away.
            For the current status of vnstat http://humdi.net/vnstat/TODO

            /Perry
            doc.pfsense.org

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

              Hey Perry,

              I've installed vnstat on three pfsense machines, all of them seem to collect data fine, but the graphs graphics do not work.

              It does show all the data, day, hour in tables etc, but it's not displaying the graphs on any of the three firewalls.

              I've tested with firefox and internet explorer on three different workstations. Pfsense version 1.2.1-RC4 and 1.2.2 and 1.2.0

              I do not have the php frontend package installed like you do btw, just the vnstat package.

              Any idea's what's wrong? The graphs seem to stay gray..and IE shows loading for ages..as if it's not able to build the graph. This happends on all three of the firewalls.

              If needed I can show you some pictures or give you live access to the vnstat page :)

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

                Prolly the old version of the php frontend you are using, 1.4.1 is the one with svg support.
                Wouldn't the package have been easier to use :P ;D

                /Perry
                doc.pfsense.org

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

                  I don't understand your reply Perry.

                  • I just installed the vnstat package from the pfsense package list
                  • Php frontend is included in the vnstat package  I assume?
                  • If the php frontend is not installed, what do I need to do to get this working?
                  1 Reply Last reply Reply Quote 0
                  • P
                    Perry
                    last edited by

                    Hmm… You got a PM

                    /Perry
                    doc.pfsense.org

                    1 Reply Last reply Reply Quote 0
                    • J
                      jzsjr
                      last edited by

                      Is there anyway to have a return to dashboard link or something of that nature to return one to the pfsense gui?

                      thanks,
                      Jim

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

                        I just open it in a new tab window.
                        Adding a go back link would mean adding something to the php-frontend and I am not sure i want to.

                        /Perry
                        doc.pfsense.org

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

                          Perry thanks for the package!! I've manually added vnstat to my box but i prefer a pkg install i ever had to reformat my box

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