[SERVER-11146] mongod started with --snmp-subagent does not connect to master Created: 11/Oct/13 Updated: 10/Dec/14 Resolved: 18/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | 2.5.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sridhar Nanjundeswaran | Assignee: | Sridhar Nanjundeswaran |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB enterprise edition running on Windows Server 2008 R2 |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Steps To Reproduce: | Start mongod --snmp-subagent |
||||||||||||
| Participants: | |||||||||||||
| Description |
|
When mongod is started with --snmp-subagent it cannot seem to connect to the local snmpd. I have tried running snmpd with and without the -x flag to control the port. In the mongod log there is a warning Warning: "Failed to connect to the agentx master agent ([NIL]):" |
| Comments |
| Comment by Sridhar Nanjundeswaran [ 18/Oct/13 ] |
|
This works with the following configuration The following lines added to snmpd.conf subagent control section:
Also verified with this with a 3 node RS running on my machine with all nodes as subagent. Verified get stats from all 3 nodes. |
| Comment by Eliot Horowitz (Inactive) [ 12/Oct/13 ] |
|
Is it running with the right permissions? |