Several of the SNMP metric categories available in 2.4 pull data directly from internal mongod objects/variables. These metrics should be sourced from serverStatus instead to improve maintainability. The categories affected are:
- global opcounts
- system uptime
Note that after this change the only SNMP metric not using serverStatus will be serverName, which consists of hostname:port. While serverStatus provides hostname is does not provide mongod port at present.