Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    SG-1100 64 bit counters

    Scheduled Pinned Locked Moved SNMP
    sg-1100montoring
    6 Posts 2 Posters 3.0k Views 2 Watching
    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.
    • S
      str8edgedave
      last edited by

      Does the SNMP implentation in the SG-1100 support 64-bit counters, specifically ifHCInOctets and ifHCOutOctets?

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

        The built-in SNMP daemon (bsnmpd) doesn't have them. I don't have the NET-SNMP package on an 1100 to check, but you might try that.

        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
        • S
          str8edgedave
          last edited by

          bsnmp on amd64 appears to support ifHCInOctets and IfHCOutOctets:

          $ snmpwalk -v2c -c <redacted> 192.168.1.1 | grep -i -e pfsense -e inoctets -e bsnmpd
          SNMPv2-MIB::sysDescr.0 = STRING: pfSense 2.4.4-RELEASE pfSense FreeBSD 11.2-RELEASE-p10 amd64
          IF-MIB::ifInOctets.1 = Counter32: 2129316479
          IF-MIB::ifInOctets.2 = Counter32: 2951989083
          IF-MIB::ifInOctets.3 = Counter32: 3372716358
          IF-MIB::ifInOctets.4 = Counter32: 0
          IF-MIB::ifInOctets.5 = Counter32: 0
          IF-MIB::ifInOctets.6 = Counter32: 2961831
          IF-MIB::ifInOctets.7 = Counter32: 0
          IF-MIB::ifInOctets.8 = Counter32: 0
          HOST-RESOURCES-MIB::hrSWRunName.81245 = STRING: "bsnmpd"
          HOST-RESOURCES-MIB::hrSWRunPath.81245 = STRING: "/usr/sbin/bsnmpd"
          HOST-RESOURCES-MIB::hrSWRunParameters.441 = STRING: "-q -f /etc/pfSense-devd.conf"
          IF-MIB::ifHCInOctets.1 = Counter64: 130978339586
          IF-MIB::ifHCInOctets.2 = Counter64: 11542502156
          IF-MIB::ifHCInOctets.3 = Counter64: 3372720551

          On Arm64, bsnmp doesn't:
          $ snmpwalk -v2c -c <redacted> 192.168.1.254 | grep -i -e pfsense -e inoctets -e bsnmpd
          SNMPv2-MIB::sysDescr.0 = STRING: pfSense 2.4.4-RELEASE pfSense FreeBSD 11.2-RELEASE-p10 arm64
          IF-MIB::ifInOctets.1 = Counter32: 844087023
          IF-MIB::ifInOctets.2 = Counter32: 0
          IF-MIB::ifInOctets.3 = Counter32: 0
          IF-MIB::ifInOctets.4 = Counter32: 0
          IF-MIB::ifInOctets.5 = Counter32: 0
          IF-MIB::ifInOctets.6 = Counter32: 0
          IF-MIB::ifInOctets.7 = Counter32: 139592
          IF-MIB::ifInOctets.8 = Counter32: 0
          IF-MIB::ifInOctets.9 = Counter32: 0
          IF-MIB::ifInOctets.10 = Counter32: 236437938
          IF-MIB::ifInOctets.11 = Counter32: 458242294
          IF-MIB::ifInOctets.12 = Counter32: 97390783
          HOST-RESOURCES-MIB::hrSWRunName.36277 = STRING: "bsnmpd"
          HOST-RESOURCES-MIB::hrSWRunPath.36277 = STRING: "/usr/sbin/bsnmpd"
          HOST-RESOURCES-MIB::hrSWRunParameters.401 = STRING: "-q -f /etc/pfSense-devd.conf"

          I'll try Net-SNMP, and let you know. My Linux experience says it should work.

          Thanks!

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

            Yes, on amd64 it does work. But the 1100 is not amd64, it's arm64.

            SG-1100:

            $ snmpwalk -c xxxx -v 2c sg1100.x.x IF-MIB::ifHCInOctets
            IF-MIB::ifHCInOctets = No Such Instance currently exists at this OID
            

            XG-7100:

            $ snmpwalk -c xxxx -v 2c xg7100.x.x IF-MIB::ifHCInOctets
            IF-MIB::ifHCInOctets.1 = Counter64: 0
            IF-MIB::ifHCInOctets.2 = Counter64: 0
            IF-MIB::ifHCInOctets.3 = Counter64: 454108431
            IF-MIB::ifHCInOctets.14 = Counter64: 2556530992
            IF-MIB::ifHCInOctets.15 = Counter64: 0
            IF-MIB::ifHCInOctets.16 = Counter64: 1085947
            IF-MIB::ifHCInOctets.17 = Counter64: 0
            IF-MIB::ifHCInOctets.18 = Counter64: 0
            IF-MIB::ifHCInOctets.19 = Counter64: 3010639423
            IF-MIB::ifHCInOctets.20 = Counter64: 2775379977
            IF-MIB::ifHCInOctets.21 = Counter64: 0
            

            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
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              That's bsnmpd though. You need to try NET-SNMP.

              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
              • S
                str8edgedave
                last edited by

                Hey @jimp,
                For the SG-1100, I know its an Arm box, it one of the reasons I bought it. I said arm64, as that's what bsnmpd reported, instead of Aarch64.

                I had a chance to install Net-SNMP on the SG-1100 and it returns ifHCInOctets and ifHCOutOctets:
                $ snmpwalk -v2c -c <redacted> 192.168.1.254 | grep -i -e inoctets
                IF-MIB::ifInOctets.1 = Counter32: 1066212313
                IF-MIB::ifInOctets.6 = Counter32: 0
                IF-MIB::ifInOctets.7 = Counter32: 147998
                IF-MIB::ifInOctets.8 = Counter32: 0
                IF-MIB::ifInOctets.9 = Counter32: 0
                IF-MIB::ifInOctets.10 = Counter32: 339689700
                IF-MIB::ifInOctets.11 = Counter32: 549481782
                IF-MIB::ifInOctets.12 = Counter32: 121263171
                IF-MIB::ifHCInOctets.1 = Counter64: 1066384951
                IF-MIB::ifHCInOctets.6 = Counter64: 0
                IF-MIB::ifHCInOctets.7 = Counter64: 147998
                IF-MIB::ifHCInOctets.8 = Counter64: 0
                IF-MIB::ifHCInOctets.9 = Counter64: 0
                IF-MIB::ifHCInOctets.10 = Counter64: 339693366
                IF-MIB::ifHCInOctets.11 = Counter64: 549639578
                IF-MIB::ifHCInOctets.12 = Counter64: 121267407

                I'll have to keep playing to make sure there is no functionality loss (OIDs returned, etc), but right now I'm happy!

                Thanks!
                David

                1 Reply Last reply
                Reply Quote 1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better ๐Ÿ’—

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy