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.