[SERVER-11630] SNMP: isMaster status not reported on master/slave configuration Created: 07/Nov/13 Updated: 11/Jul/16 Resolved: 12/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 2.5.3 |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | John Morales | Assignee: | James Wahlin |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
|
||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | 0.) Install standard pre-req packages for SNMP on Ubuntu.
2.) Launch a master/slave pair. The master was also the SNMP master, the slave a subagent. Actual command-line flags used for each host: SLAVE: ./bin/mongod -vvvvv --snmp-subagent --port 27018 --fork --dbpath data/slave-0/ --logpath logs/slave-0/mongod.log --smallfiles --nohttpinterface --nojournal --slave --source ip-internal-hostname:27017 |
||||
| Participants: | |||||
| Description |
|
Example snmpwalk output:
By comparison, db.serverStatus() is reporting a subdocument such as:
I would expect the isMaster/isSecondary SNMP booleans to also represent master/slave status accordingly. |
| Comments |
| Comment by auto [ 12/Nov/13 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: Merge pull request #16 from jameswahlin/
|
| Comment by auto [ 12/Nov/13 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: Merge pull request #16 from jameswahlin/
|
| Comment by auto [ 12/Nov/13 ] |
|
Author: {u'name': u'James Wahlin', u'email': u'james.wahlin@10gen.com'}Message: |