Collector Type: Agent

Category: Application Monitors

Application Name: Mongo API

Global Template Name: LINUX Mongo API Template

Prerequisites: MongoDB API server should be running.

Parameters

NameDefault Value
Host IP Address

The host on which MongoDB API is running.
127.0.0.1
Port

The port on which MongoDB API Server is running.
28017
User Name

The username of the MongoDB API Server, if authentication is enabled.
NA
Password

The password of the MongoDB Server, if authentication is enabled.
NA

Note: All field attributes are mandatory, use default values wherever applicable.

Collected Metrics

Metric NameDisplay Name
mongo.uptime

Uptime in minutes.
MongoDB Uptime
mongo.activeclients

Current active, read and write clients.
MongoDB ActiveClients
mongo.memory

MongoDB resident, virtual, mapped memory in MB.
MongoDB Memory
mongo.lock.percent

Lock percentage.
MongoDB Lock Percent
mongo.connections

MongoDB current and available connections.
MongoDB Connections
mongo.heap.usage

Heap Usage.
MongoDB Heap Usage
mongo.pagefaults

Page Faults.
MongoDB Page Faults
mongo.btree

Provides Index Counters details as Accesses, Hits, Misses, Resets, Miss_ratio.
MongoDB BTree
mongo.network.requests

Network Requests per second.
MongoDB Network Requests
mongo.current.queue

Current readers and writers in Queue.
MongoDB Current Queue
mongo.op.counters

Provides opcounts for operations like insert, update, query, delete, getmore, command.
MongoDB OP Counters
mongo.replication.lag

Checks the replication lag.
MongoDB Replication Lag
mongo.replication.state

Replication states will be the following cases: StartingPhase1(0), Primary(1), Secondary(2), Recoverying(3), Fatal Error(4), StartingPhase2(5), Arbiter(7), Down(8), Not_Running_with_Replication(-1).
MongoDB Replication State
mongo.journal.commits

Provides the number of journal commits that occurred in the write lock.
MongoDB Journal Commits In WL
mongo.size

Provides the size of individual databases in Gigabytes.
MongoDB Size
mongo.index.size

Provides the Index size of databases in KBs.
MongoDB Index Size
mongo.avg.flush

Provides the background average flush of dbs.
MongoDB Background Avg Flush
mongo.traffic

MongoDB current available traffic.
MongoDB Traffic
mongo.asserts

Provides the Mongo DB asserts.
MongoDB Asserts
mongo.cursors

Provides the Mongo DB cursors.
MongoDB Cursors
mongo.journaled.status

Provides the Mongo DB journaledstatus.
MongoDB Journaled Status
mongo.index.miss.ratio

Provides the Mongo DB index miss ratio.
MongoDB Index Miss Ratio