MongoDB Enterprise can provide database metrics via SNMP, in
support of centralized data collection and aggregation. 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.

You can run mongod with the snmp-master
option for testing purposes. To do this, use the SNMP master
configuration file instead of the subagent configuration file. From
the directory containing the unpacked MongoDB installation files: