[SERVER-11602] Use serverStatus for all SNMP metrics Created: 06/Nov/13  Updated: 11/Jul/16  Resolved: 08/Nov/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.5.3
Fix Version/s: 2.5.4

Type: Improvement Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

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:

  1. memory
  2. global opcounts
  3. system uptime
  4. asserts

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.



 Comments   
Comment by auto [ 08/Nov/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-11602 Fix for lint
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/91272c0b63bf8d357b6218bb0ddfa681c1b27b05

Comment by auto [ 08/Nov/13 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: Merge pull request #15 from jameswahlin/SERVER-11602

SSERVER-11602 Use serverStatus for all SNMP metrics
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9c35370f8781b671848ac88b6afa1a765c091cc5

Comment by auto [ 08/Nov/13 ]

Author:

{u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}

Message: SERVER-11602 Use serverStatus for all SNMP metrics
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/daeb1e37fc80c2ba1bc3cc447ef6f3ffb7cf17e2

Generated at Thu Feb 08 03:26:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.