Navigation

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

    Traffic graph

    webGUI
    4
    23
    8407
    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.
    • ?
      A Former User last edited by

      i like the graph when i have it open in my browser, but if i click off of that page, the graph resets.

      is there a way to see/keep all the data graphs?

      dd-wrt had a nice graph that would show in/out per day.  the page would show the entire month and you could scroll back to prior months and see what the traffic was like, assuming you didnt click the button to clear the data that was saved.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Status > RRD Graphs

        The "real time" graph gets data every few seconds, the RRD graphs summarize that a bit more (the longer the scale on the graph the longer the averaging period) but it's all kept there.

        The real time graph on Tomato works the same way, it only collects data while you're watching it. The longer periods are kept in RRD or similar files.

        The real time graph can't keep its data because it's drawn and maintained using your browser and AJAX calls. The data isn't kept on the firewall.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          @jimp:

          Status > RRD Graphs

          The "real time" graph gets data every few seconds, the RRD graphs summarize that a bit more (the longer the scale on the graph the longer the averaging period) but it's all kept there.

          The real time graph on Tomato works the same way, it only collects data while you're watching it. The longer periods are kept in RRD or similar files.

          The real time graph can't keep its data because it's drawn and maintained using your browser and AJAX calls. The data isn't kept on the firewall.

          hmmm, thanks. i will take a look and report back.

          my mistake.  i assumed the only graph was the real time graph.  what you said makes sense (about the real time graph only showing….real time).

          thanks.

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by

            i don't want to reboot to find out, but does traffic reset on a reboot of pfsense?

            EDIT- the RRD graph

            1 Reply Last reply Reply Quote 0
            • ptt
              ptt Rebel Alliance last edited by

              On "full install" it survives a reboot.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User last edited by

                @ptt:

                On "full install" it survives a reboot.

                i am not running it from the cd, i installed it to a hard drive.

                1 Reply Last reply Reply Quote 0
                • ptt
                  ptt Rebel Alliance last edited by

                  Then you have nothing to worry, your graphs will be there for years…. :)

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    @ptt:

                    Then you have nothing to worry, your graphs will be there for years…. :)

                    great, thank you.

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

                      "nice graph that would show in/out per day.  the page would show the entire month and you could scroll back to prior months and see what the traffic was like"

                      Sounds more like vnstat2 package would be more what your looking for - see some example shots from my system.  At one point I had data going back a year, but had to reset database because of some issues I was having.

                      Plus you can interact with it via cmd line, or you could write you own frontend to give you data if the built instuff is not exactly what your looking for.






                      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
                      2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by

                        @johnpoz:

                        "nice graph that would show in/out per day.  the page would show the entire month and you could scroll back to prior months and see what the traffic was like"

                        Sounds more like vnstat2 package would be more what your looking for - see some example shots from my system.  At one point I had data going back a year, but had to reset database because of some issues I was having.

                        Plus you can interact with it via cmd line, or you could write you own frontend to give you data if the built instuff is not exactly what your looking for.

                        wow, that looks nice.  that looks alot more like what dd-wrt looked like.

                        how do i get it?

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

                          just install the package

                          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
                          2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User last edited by

                            @johnpoz:

                            just install the package

                            ok, did that (new to pfsense, still learning where everything is and what it does).

                            now that i have that view, the only thing i dont like, unless there is a fix for it, is that once i am in this view, that shows the '3D' bars, how do i get back to the pfsens gui?

                            well, i suppose i am still in the gui, but i dont see my toolbar anymore.  do i need to create a shortcut to this page when i want to see the graph?

                            my typical setup has two monitors one of which i have pfsense open so i can see data/graphs when i have data flowing.

                            thanks.

                            EDIT- i assume there is not auto update for vnstat2?  not a big deal, but an update feature, other than refresh :), would be nice.  this is better than nothing, i shouldnt complain.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User last edited by

                              my graph isnt displaying the proper bar height.

                              Jan 2012 656.60 MB 24.69 MB 681.29 MB

                              but the bytes in (656.60MB) bar is just under the 4M mark.

                              i assume M= MB

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

                                The php frontend your clicking on is not part of the pfsense gui, its not integrated – like I mentioned you could write your own webpage to the info if you wanted to.. So yeah if you want something that auto refreshes you could do that.

                                vnstat is a console based program, the web stuff is created from the data it collects.  You can pretty much do whatever you want for a web interface.. Info on vnstat here

                                http://humdi.net/vnstat/

                                If your interested in realtime display of traffic you might want to look at iftop http://www.ex-parrot.com/pdw/iftop/

                                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
                                2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User last edited by

                                  @johnpoz:

                                  The php frontend your clicking on is not part of the pfsense gui, its not integrated – like I mentioned you could write your own webpage to the info if you wanted to.. So yeah if you want something that auto refreshes you could do that.

                                  vnstat is a console based program, the web stuff is created from the data it collects.  You can pretty much do whatever you want for a web interface.. Info on vnstat here

                                  http://humdi.net/vnstat/

                                  If your interested in realtime display of traffic you might want to look at iftop http://www.ex-parrot.com/pdw/iftop/

                                  thanks.  i am not advanced enough to write my own stuff.

                                  can you explain why the graph doesnt represent the data in?

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

                                    data in ??  You lost me, I am seeing data in and data out.  Can you post up a screenshot of what your not seeing.

                                    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
                                    2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User last edited by

                                      my data in is 1.xx GB, but the bar on the graph hits the 4M mark.

                                      seems like that is not accurate.

                                      shouldn't it be at 1.xx G or 1xxx M on the graph?

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

                                        can I see what your talking about - please post a screen shot.  What interface are you looking at wan or lan, 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
                                        2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                        1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User last edited by

                                          @johnpoz:

                                          can I see what your talking about - please post a screen shot.  What interface are you looking at wan or lan, etc.

                                          sure, it is the WAN interface.

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User last edited by

                                            i just checked in another browser and the graph looks fine.

                                            seems like chrome, what i am normally using, isnt updating the graph.

                                            i tried refreshing and i tried closing out and going back in…still looks like what i posted above.

                                            here is IE:

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

                                              did you try clearing your cache?

                                              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
                                              2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                              1 Reply Last reply Reply Quote 0
                                              • ?
                                                A Former User last edited by

                                                @johnpoz:

                                                did you try clearing your cache?

                                                no, but if i have to clear my cache every time i want this to refresh…..seems pointless.

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

                                                  not saying everytime - but maybe something was stuck, I don't use chrome so have not idea but guess I could load up the page with it and see if any issues.

                                                  oh here is with chrome

                                                  Sure seems to be updating for me - what version of chrome are you using?  Im on 16.0.912.75 m




                                                  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
                                                  2440 2.4.5p1 | 2x 3100 2.4.4p3 | 2x 3100 22.01 | 4860 22.05

                                                  1 Reply Last reply Reply Quote 0
                                                  • First post
                                                    Last post