-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.5.3
-
Component/s: Diagnostics
-
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)
-
Linux
-
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
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