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

SNMP should handle variable typed serverStatus metrics

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.4
    • Affects Version/s: 2.5.3
    • Component/s: None
    • Labels:
    • ALL

      Some serverStatus metrics stored as long long on the serverSide are returned either as an int, double or long long in the serverStatus call, dependent on value. This is the case for network.bytesIn and network.bytesOut and may be the case for other metrics. Note that this behavior is not consistent across all serverStatus metrics - the metrics section will return int64 values as long long regardless of value.

      This ticket will be used to:

      • Identify all affected metrics
      • Add handling for the variable types to our SNMP product
      • Correctly define all of these metrics as 64bit in the SNMP MIB.

      Once a full set of metrics is known I will add a separate ticket for making consistent on the server side.

      Note that the code that performs this cast is here.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: