MongoDB Documentation, Release 3.0.4 Monitor MongoDB With SNMP on Linux Enterprise Feature Overview Considerations See also: Configuration Files Procedure $^{88}$http://www.mongodb.com/products/mongodb-enterprise?jmp=docs 239 5.2. Administration Tutorials Step 1: Copy configuration files. Use the following sequence of commands to move the SNMP configuration files to the SNMP service configuration directory. First, create the SNMP configuration directory if needed and then, from the installation directory, copy the configura- tion files to the SNMP service configuration directory: mkdir -p /etc/snmp/ cp MONGOD-MIB.txt /usr/share/snmp/mibs/MONGOD-MIB.txt cp mongod.conf.subagent /etc/snmp/mongod.conf • mongod.conf.master : • mongod.conf.subagent : • MONGOD-MIB.txt : MongoDB Enterprise contains the following configuration files to support SNMP: Changed in version 2.6. The management information base (MIB) file that defines MongoDB’s SNMP output. The configuration file to run mongod as the SNMP subagent. This file sets SNMP run-time configuration options, including the AgentX socket to connect to the SNMP master. The configuration file to run mongod as the SNMP master. This file sets SNMP run-time configuration options. Only mongod instances provide SNMP support. mongos and the other MongoDB binaries do not support SNMP. Troubleshoot SNMP (page 242) and Monitor MongoDB Windows with SNMP (page 240) for complete instructions on using MongoDB with SNMP on Windows systems. MongoDB Enterprise can provide database metrics via SNMP, in support of centralized data collection and aggrega- tion. This procedure explains the setup and configuration of a mongod instance as an SNMP subagent, as well as initializing and testing of SNMP support with MongoDB Enterprise. SNMP is only available in MongoDB Enterprise$^{88}$. New in version 2.2.