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

    Traffic graph with IPs, no sorting

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.3k 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.
    • B
      BloodyIron
      last edited by

      When I go to the traffic graph for an interface the chart on the right shows the IPs that are doing traffic and how much they are.

      My problem is the sorting changes so rapidly that I cannot actually keep up with who's doing what traffic, and this is with only say 4 or 5 IPs.

      I want to implement pfSense at work as our top gateway, but this will be a problem when trying to troubleshoot tens to hundreds of IPs doing traffic.

      Is there a way to lock the sorting and have IPs stay up for a longer time or for the duration of the page session? If not, should I open a bug/feature request?

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

        I'm not sure what the best way to do it would be, but you can change line 186 in /usr/local/www/status_graph.php to read:

        
        jQuery(rowid).fadeOut(5000);
        
        

        instead of 2000. That should at least give you a little bit more time to see who's doing what without affecting the granularity of the polling.

        1 Reply Last reply Reply Quote 0
        • P
          phil.davis
          last edited by

          It is tricky - because of what to do when a new client gets in the top list, and a previous client drops its throughput and is no longer in the list.
          There could easily be a sort by IP/Hostname column option - if the top clients remained the same, then the list order would also remain the same.
          and/or, it could remember the current list order, then any slots whose IP is no longer in the top list would be considered "vacant" and replaced by new entrants to the list.
          Then, what happens when there are no longer the max number of clients using bandwidth? Do we shorten the list (making lower entries jump up) or leave blank lines?
          I also would like to have the same kind of thing you are hoping for. If you can think of a good requirement spec for how it should behave, then I am happy to do some code.

          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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

            Well first I think that we should have a pull-down menu to change sorting. Second, we should have a time-out for IPs to remain on the list without traffic, but of course this time-out gets reset to 0 when new info on an IP is received.

            Some initial sorts I'm coming up with are:

            • Numerical

            • Order of received (probably a better name here), effectively the order in which it was added to the list

            • Highest bandwidth

            • Hostname (if this is possible?)

            • Reverse of the above

            I don't think it has to be too complicated, but options and at least some form of sorting would be beneficial.

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

              Any news on this?

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