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

    snmp bug

    Scheduled Pinned Locked Moved TNSR
    18 Posts 3 Posters 2.2k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @LukeCage
      last edited by

      @lukecage still not seeing anything here other than a 2 watch problem.. Which one is correct?

      Maybe your mikrotik smooths the data more than tnsr. Maybe its a difference in whatever your using to graph that, and its polling, or smoothing settings.

      Even if using settings same, take reading every 2 seconds and average last 30 seconds.. if they are not looking at the data at exact same time your going to see differences..

      If you don't like the data your seeing because it doesn't "match" up exactly with some other system doesn't mean there is a snmp bug.. These are 2 different systems.. 2 different OSes, 2 different nics I assume, 2 different drivers, etc. etc..

      Looking at your graphs to me - just looking like one is smoothing more than the other. Or sample time slightly off.. I see increase in data that lines up with increase in data on the other one, I see area that could just be different smoothing applied

      graphs.jpg

      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
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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

        It could also be a difference in how the two handle the data. For example the Mikrotik may be taking longer to process things and queuing up traffic, where TNSR is pushing it out as soon as it gets it.

        The totals are so close I find it hard to believe there is a problem with the data.

        There are also statistics available via prometheus, which you could try logging instead of SNMP, to see if that makes a difference.

        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
        • L
          LukeCage @johnpoz
          last edited by LukeCage

          @johnpoz

          still not seeing anything here other than a 2 watch problem.. Which one is correct?
          mikrotik device showing true data

          On the tnsr side, there are too many graphic defects

          i tried to install a new tnsr and get data
          dont have any problem https://prnt.sc/26d8tzs

          why i living this problem my main tnsr router i dont know
          https://prnt.sc/26d8ugs

          both tnsr working on reading every 30 seconds

          note: my traffic is progressing stable, as in the screenshot I mentioned on the tnsr side, there is an imbalance in my traffic.

          1 Reply Last reply Reply Quote 0
          • L
            LukeCage
            last edited by LukeCage

            i changed scanning interval on both devices

            tnsr -> 30 seconds to 60 seconds
            mikrotik 30 seconds to 5 seconds

            i will share results with you in 40-50 minutes

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

              I'm not seeing any defects, just differences in how the traffic is being processed at higher volumes in your environment.

              TNSR uses VPP which does vector processing which handles multiple packets at the same time, most other things process only one packet at a time (scalar processing). So it makes sense that it would handle large chunks of traffic at once (the peaks) as they come in.

              https://wiki.fd.io/view/VPP/What_is_VPP%3F

              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!

              L 1 Reply Last reply Reply Quote 1
              • L
                LukeCage @jimp
                last edited by LukeCage

                @jimp

                hello i found this problem
                myby have rate limit on snmp

                dont have any problem on 60 second scanning interval
                https://prnt.sc/26d93l0

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

                  Unlikely to be any kind of rate limit. That's just smoothing the peaks/valleys since you're sampling half as often.

                  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!

                  L 1 Reply Last reply Reply Quote 1
                  • L
                    LukeCage @jimp
                    last edited by

                    @jimp ah oky thanks
                    this is what i needed

                    Thank you very much for your interest
                    @jimp @johnpoz

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

                      Also, not a rate limit per se but VPP only updates its counters every 10 seconds:

                      https://docs.netgate.com/tnsr/en/latest/monitoring/interfaces.html#monitoring-interfaces

                      It does that to minimize the load imposed on traffic processing by tracking statistics.

                      So there could be a timing issue there, but again, it all evens out over time.

                      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!

                      L 1 Reply Last reply Reply Quote 1
                      • L
                        LukeCage @jimp
                        last edited by

                        @jimp Thank you sir

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