[SERVER-11410] Add RHEL support to subagent config file Created: 28/Oct/13  Updated: 11/Jul/16  Resolved: 31/Oct/13

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

Type: Bug Priority: Major - P3
Reporter: Cadran Cowansage Assignee: James Wahlin
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:
  • EC2, RHEL 6.4 (ami-a25415cb), m1.xlarge, standalone mongod, default net-snmp version 5.5 (looks to be the same version that comes with amazon linux)

Issue Links:
Related
Operating System: Linux
Steps To Reproduce:

0.) Install standard pre-req packages for SNMP.
1.) Copy mongod.conf.subagent to /etc/snmp/mongod.conf
2.) Start mongod with --snmp-subagent
3.) snmpwalk e.g. snmpwalk -m MONGO-MIB -v 2c -c mongodb 127.0.0.1 1.3.6.1.4.1.34601 and get error: MONGO-MIB::mongodb = No Such Object available on this agent at this OID

Participants:

 Description   

The current mongod.conf.subagent config doesn't work when running --snmp-subagent on RHEL. As per the docs (https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/8.1/html/Administration_Guide/Monitoring_DS_Using_SNMP-Configuring_the_Subagent.html), if I edit /etc/snmp/mongod.conf and add the below lines to specify how to talk to the snmp master, and then restart mongod and snmpwalk, I successfully see values for the walk.

Current config settings
#agentXSocket tcp:localhost:707
#agentXSocket /tmp/agentx/master

Add below for RHEL
#agentx-master localhost:707
agentx-master /var/snmp/agentx



 Comments   
Comment by auto [ 31/Oct/13 ]

Author:

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

Message: Merge pull request #11 from jameswahlin/SERVER-11410

SERVER-11410 add RHEL and Windows specific config instructions
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/b853c6f4d0527a06e8c642dc202f47df3ac1f911

Comment by auto [ 31/Oct/13 ]

Author:

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

Message: Merge pull request #11 from jameswahlin/SERVER-11410

SERVER-11410 add RHEL and Windows specific config instructions
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/b853c6f4d0527a06e8c642dc202f47df3ac1f911

Comment by auto [ 31/Oct/13 ]

Author:

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

Message: SERVER-11410 add RHEL specific config instruction
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/aef18e0ad5d71a86de6237398311b526b8b3adbc

Comment by Cadran Cowansage [ 30/Oct/13 ]

net-snmp version 5.5, which is same one I see on Amazon Linux.

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