Traffic graph with IPs, no sorting

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

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


    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.

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

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

  • Any news on this?

Log in to reply