WHERE DO I START?
You are here:Integrations > MongoDB

MongoDB

Summary

MongoDB is a document-oriented NoSQL database. Netuitive can be used to monitor your MongoDB's performance. Additional configuration options are available below the instructions.

Configuration

Important   If you haven't installed the Linux agent already, see the instructions on this page for how to install it. If you need to disable the Linux integration or view the unique API key assigned to your account, navigate to the Integrations page under the user account drop-down menu and click the integration designated as Infrastructure under the Integration column.

Collector Configuration

  1. Navigate to the collectors folder.
    Note   The default location is /opt/netuitive-agent/conf/collectors
  2. Open the MongoDBCollector.conf file.
    Note   This configuration file will only be available in agent versions 0.3.1 or later. Otherwise, you will have to create a configuration file with the same name.
  3. Change the enabled setting to True.
    Important   Due to the large number of metrics generated by MongoDB, you shouldn't monitor more than one MongoDB host per agent.
  4. Replace the default host address and/or port number if necessary.
  5. Save the configuration file, and restart the Linux Agent.

Additional Configuration Options

Dependencies

OS

Redhat 6 and 7
CentOS 6 and 7
Amazon Linux (latest)
Ubuntu 12, 14, 15, and 16
Debian 7, 8, and 9

Miscellaneous

Linux Agent
pymongo v. 2.4+

Metrics

Collected

Important   If you've setup the MongoDB collector on an instance of MongoS, you will not get the same amount of metrics as an instance of MongoD would.
Fully Qualified Name (FQN) MongoD / MongoS compatible? Type Units Statistic Min Max Sparse Data Strategy (SDS) BASE CORR UTIL
mongo.connections.available MongoD and MongoS GAUGE count average 0 none none
mongo.connections.curent MongoD and MongoS GAUGE count average 0 none none
mongo.connections.total MongoD and MongoS GAUGE count average 0 none none
mongo.extra_info.page_faults MongoD and MongoS COUNTER count   0 none none
mongo.globalLock.activeClients.readers MongoD only GAUGE count average 0 none none
mongo.globalLock.activeClients.total MongoD only GAUGE count average 0 none none
mongo.globalLock.activeClients.writers MongoD only GAUGE count average 0 none none
mongo.globalLock.currentQueue.readers MongoD only GAUGE count average 0 none none
mongo.globalLock.currentQueue.total MongoD only GAUGE count average 0 none none
mongo.globalLock.currentQueue.writers MongoD only GAUGE count average 0 none none
mongo.globalLock.totalTime MongoD only GAUGE ┬Ás average 0 none none
mongo.network.bytesIn MongoD and MongoS COUNTER bytes   0 none none
mongo.network.bytesOut MongoD and MongoS COUNTER bytes   0 none none
mongo.network.numRequests MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.command MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.delete MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.getmore MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.insert MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.query MongoD and MongoS COUNTER count   0 none none
mongo.opcounters.update MongoD and MongoS COUNTER count   0 none none
mongo.opcountersRepl.command MongoD only COUNTER count   0 none none
mongo.opcountersRepl.delete MongoD only COUNTER count   0 none none
mongo.opcountersRepl.getmore MongoD only COUNTER count   0 none none
mongo.opcountersRepl.insert MongoD only COUNTER count   0 none none
mongo.opcountersRepl.query MongoD only COUNTER count   0 none none
mongo.opcountersRepl.update MongoD only COUNTER count   0 none none

Computed

Fully Qualified Name (FQN) Description Units Min Max BASE CORR UTIL
netuitive.linux.mongo.connections.utilizationpercent

The percentage of available connections currently being utilized.

Computation:
(mongo.connections.current / (mongo.connections.current + mongo.connections.available)) * 100

percent 0 100
netuitive.linux.mongo.opcounters.totalreads

The total number of read operations currently taking place (reads include both query and getmore requests).

Computation:
mongo.opcounters.query + mongo.opcounters.germore

count 0 none
netuitive.linux.mongo.opcounters.totalwrites

The total number of write operations currently taking place (writes include insert, update, and delete requests).

Computation:
mongo.opcounters.insert + mongo.opcounters.update + mongo.opcounters.delete

count 0 none