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

    snmp bug

    Scheduled Pinned Locked Moved TNSR
    18 Posts 3 Posters 2.5k 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

      So your issue/concern is 1 device is showing.

      1470mbps and the other is showing 1154mbps?

      Which is which, how exactly does that have to do with some snmp bug? What is the polling.. Just at a loss to what anyone could do with the info provided to even look at anything?

      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.8, 24.11

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

        @jimp data is corrupted

        not showing the data correctly
        well
        shows a little traffic shows a lot of traffic
        Exactly tnsr showing corrupted data

        All traffic coming from my upstream to tnsr and tnsr send all traffic to mikrotik

        Graph tnsr screenshot
        https://prnt.sc/26d1xzd

        Graph mikrotik screenshot
        https://prnt.sc/26d1xs1

        Note: tnsr sending all traffic to mikrotik both devices running same traffic

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @LukeCage
          last edited by johnpoz

          @lukecage And who says the mikrotik data is correct, maybe its off and the tnsr data is the correct numbers.

          Just at a loss to understand what you expect someone to do with some graphs? Ok not pulling numbers ok, but different values - which one is correct, or closer to correct. How do they average the data, what is the sample rate, etc.. I could see where you might have something to point out if one was showing gigs of data and the other was showing kbits, but one shows max 809 and other shows 701.. But what is the sample rate, is one doing 30 second average, the other doing 60 seconds, etc. Do you have a 3rd sample that corresponds to one of those, or how do you know they are both not wrong..

          its like you had a watch that said it was 11:59:00, and then you brought in 2nd watch is wrong because it says it 11:59:01 -- Who says the first watch time was correct in the first place?

          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.8, 24.11

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

            @johnpoz
            Scanning interval same on both devices - 30 seconds

            I can safely say to you, my traffic usage is progressing stability evening rush hour, I'm monitoring the traffic instantly from mikrotik gui(winbox) There is no 1 gbps difference in 30 seconds.

            Dont have firewall rules or access lists on both device

            Mikrotik snmp show stable traffic usage
            https://prnt.sc/26d3muy

            Tnsr snmp show unstable traffic usage
            https://prnt.sc/26d3n9o

            Traffic usage same on both devices
            Tnsr sending all traffic to mikrotik device

            Note:
            I tried update prtg server
            I tried change snmp community etc and restart service on tnsr side
            I tried reboot tnsr
            My problem is unresolved

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

              new screenshots

              tnsr
              https://prnt.sc/26d8kk1

              mikrotik
              https://prnt.sc/26d8knp

              johnpozJ 1 Reply Last reply Reply Quote 0
              • 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.8, 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.