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

    [SOLVED]Bug, Traffic Graph Display Error.

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    9 Posts 3 Posters 3.4k 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.
    • D
      dadodo
      last edited by

      In 2.0 Beta, Status -> Traffic Graph , The display of Host IP on LAN interface lose the last character, ex: 192.168.200.171 -> 192.168.200.17.

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

        What is the date on your snapshot?

        I'm not able to reproduce this error, though it may be that the IP addresses I have to work with are not that long.

        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
        • D
          dadodo
          last edited by

          Version: 2.0-BETA1 built on Mon Apr 12 22:17:25 EDT 2010
          This version may use only 14 characters, not full 15 characters.

          1 Reply Last reply Reply Quote 0
          • M
            MrHorizontal
            last edited by

            While you're at it on the Traffic Graph, I also noticed that when I have ovpn interfaces, the Status -> Traffic graph is fine, but the Dashboard Traffic graph plugin doesn't pull any data for those exotic interfaces…

            If you're willing to spend a bit more time on this, a would be nice feature would be to combine traffic flow on 1 graph? Using my 7 OVPN WANs it'd be quote nice to see how traffic is being split by the load balancer versus having 7 different graphs being rendered.

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

              I've never looked at the code for the traffic graphing that deeply, that isn't something I'd be likely to take on. If you could describe the problem with OpenVPN interfaces in more detail, feel free to open a bug report for that on http://redmine.pfsense.org/

              As for the combined graph, you could open a feature request for that there also, but I'm not sure what the feasibility of that may be.

              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
              • D
                dadodo
                last edited by

                I try do some thing in 'bandwidth_by_ip.php' file, and I found that:

                when exec the following command :

                rate -i le1 -nlq 1 -Aa 10 -c 192.0.0.0/8 | awk '{ printf "%s:%s:%s:%s:%s\n", $1, $2, $5, $8, $11 }'

                i get the result:

                Momentary:Rx:Average:Tx:
                Bps:pps:pps:pps:pps
                192.168.200.147:3.71k:4.95:9.90:

                They seems OK, but when i dump the $listedIPs[$x] when $x = 2,
                it show that:

                192.168.200.14:3.71k:4.95:9.90:

                missing one character '7'.

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

                  There are maybe some thing worng at previous post, after test again,

                  rate -i le0 -nlq 1 -Aa 10 -c 192.0.0.0/8

                  Momentary Rx    Momentary Tx      Average Rx      Average Tx
                                    Bps    pps |  Bps    pps |  Bps    pps |  Bps    pps
                  192.168.200.16  38.20k 129.19 | 22.90k 129.19 | 38.20k 129.19 | 22.90k 129.19

                  the ip
                  192.168.200.16 –> should be 192.168.200.161

                  ,so maybe something wrong in rate command ..

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

                    I added a patch to rate in the repo so the next time it gets rebuilt it may be fixed. I'm not sure if it will rebuild that port automatically or if I'll have to ask to have it rebuilt

                    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
                    • D
                      dadodo
                      last edited by

                      After updated, the problem has solved, thank you.
                      Version: 2.0-BETA1 built on Sun May 2 18:59:27 EDT 2010 FreeBSD 8.0-STABLE

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