Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11340

SNMP field mismatch - 64bit sever status field mapped to 32 bit MIB counter type

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.4
    • Affects Version/s: 2.5.3
    • Component/s: Diagnostics
    • Labels:
    • Environment:
      N/A
    • ALL
    • Hide

      0.) Install standard pre-req packages for SNMP
      1.) Launch standalone running as --snmp-agent
      2.) Run snmpwalk e.g.
      snmpwalk -m MONGO-MIB -v 2c -c mongodb 0.0.0.0:1161 1.3.6.1.4.1.34601
      3.) Compare field types - compare MIB field connectionsTotalCreated from SNMP walk to serverStatus.connections.totalCreated when running db.serverStatus()

      Show
      0.) Install standard pre-req packages for SNMP 1.) Launch standalone running as --snmp-agent 2.) Run snmpwalk e.g. snmpwalk -m MONGO-MIB -v 2c -c mongodb 0.0.0.0:1161 1.3.6.1.4.1.34601 3.) Compare field types - compare MIB field connectionsTotalCreated from SNMP walk to serverStatus.connections.totalCreated when running db.serverStatus()

      MIB object connectionsTotalCreated is type counter32. This maps to serverStatus.connections.totalCreated in Mongo which is a 64 bit value. connectionsTotalCreated should be a counter64.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            cadran.cowansage Cadran Cowansage
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: