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

SNMP Field type mismatches

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.4
    • 2.5.3
    • Diagnostics
    • 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 fields from SNMP walk to those from 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 fields from SNMP walk to those from db.serverStatus()

    Description

      We noticed some counter fields from db.serverStatus mapped to gauge MIB field types. See list below

      MIB Object serverStatus metric MIB Current Type MIB Proposed Type
      flushTotalMs backgroundFlushing.total_ms Integer counter32
      indexCounterAccesses indexCounters.accesses Integer counter32
      indexCounterHits indexCounters.hits Integer counter32
      indexCounterMisses indexCounters.misses Integer counter32
      indexCounterResets indexCounters.resets Integer counter32
      networkBytesIn network.bytesIn Integer counter32
      networkBytesOut network.bytesOut Integer counter32
      globalLockTotalTime globalLock.totalTime String counter64
      globalLockLockTime globalLock.lockTime String counter64
      metricsGetLastErrorWtimeNum metrics.getLastError.wtime.num Integer counter32
      metricsGetLastErrorWtimeTotalMillis metrics.getLastError.wtime.totalMillis Integer counter32
      metricsReplApplyBatchesNum metrics.repl.apply.batches.num Integer counter32
      metricsReplApplyBatchesTotalMillis metrics.repl.apply.batches.totalMillis Integer counter32
      metricsReplNetworkBytes metrics.repl.network.bytes String counter64
      metricsReplNetworkGetmoresNum metrics.repl.network.getmores.num Integer counter32
      metricsReplNetworkGetmoresTotalMillis metrics.repl.network.getmores.totalMillis Integer counter32
      metricsReplOplogInsertTotalMillis metrics.repl.oplog.insert.totalMillis Integer counter32
      metricsReplOplogInsertBytes metrics.repl.oplog.insertBytes String counter64
      metricsReplPreloadDocsTotalMillis metrics.repl.preload.docs.totalMillis Integer counter32
      metricsReplPreloadIndexesTotalMillis metrics.repl.preload.indexes.totalMillis Integer counter32

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: