Traffic graph



  • 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.


  • Rebel Alliance Developer Netgate

    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.



  • @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.



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

    EDIT- the RRD graph


  • Rebel Alliance

    On "full install" it survives a reboot.



  • @ptt:

    On "full install" it survives a reboot.

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


  • Rebel Alliance

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



  • @ptt:

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

    great, thank you.


  • Rebel Alliance Global Moderator

    "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.








  • @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?


  • Rebel Alliance Global Moderator

    just install the package



  • @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.



  • 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


  • Rebel Alliance Global Moderator

    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/



  • @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?


  • Rebel Alliance Global Moderator

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



  • 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?


  • Rebel Alliance Global Moderator

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



  • @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.



  • 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:


  • Rebel Alliance Global Moderator

    did you try clearing your cache?



  • @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.


  • Rebel Alliance Global Moderator

    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





Locked