Opstree/Mongodb Dashboard 7,6897,689 5.0 (1 reviews)
##MongoDB Dashboard This Dashboard depicts the metrics of Mongodb Cluster in replication mode using MongoDB Exporter. Following is the list of metrics we are monitoring.
##Prerequisite
- MongoDB Exporter
- Node Exporter
Cluster
- MongoDB Service UP
- MongoDB Uptime
- Current Connections
- Total Created Connections
- Available Connections
- Active Connections
- Received Insert Operations
- Received Update Operations
- Received Command Operations
- Received Queries
- Received Delete Operations
- Received getMore Operations
- Total Collections per DB
- Total Index per DB
- Total Views per DB
- Allocated Storage to Collections in DB
- Allocated Storage to indexes in DB
Replication Set Metrics
- Primary and Seconday Nodes
- Max Maaber Ping Time
- OpLog Size
- Replication Lag
- Replication Last Election
Cursor Metrics
- Cursor Timeout
- Cursor TotalOpened
Server Metrics
- CPU%
- Memory Utilization
- Network I/O
- Disk I/O
- Disk Space Utilization
Service File to run Mongodb Exporter
[Unit]
Description=Mongodb Exporter
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/mongodb_exporter --mongodb.uri=mongodb://mongodb_exporter:{{ mongodb_exporter_user_password }}@{{ mongodb_host }}:{{ mongodb_port }} --collect-all
[Install]
WantedBy=multi-user.target
Contributor Information
Used Metrics 2929
mongodb_up
mongodb_members_uptime
mongodb_ss_connections
mongodb_ss_opcounters
mongodb_dbstats_collections
mongodb_dbstats_indexes
mongodb_dbstats_views
mongodb_dbstats_storageSize
mongodb_dbstats_indexSize
mongodb_rs_members_id
mongodb_rs_members_pingMs
mongodb_oplog_stats_size
mongodb_rs_members_optimeDate
mongodb_electionCandidateMetrics_lastElectionDate
mongodb_ss_metrics_cursor_timedOut
mongodb_ss_metrics_cursor_totalOpened
-
node_cpu_seconds_total
interval
-
node_memory_MemTotal_bytes
-
node_memory_MemFree_bytes
-
node_memory_Cached_bytes
-
node_memory_Buffers_bytes
-
node_memory_SReclaimable_bytes
-
node_network_receive_bytes_total
-
node_network_transmit_bytes_total
-
node_disk_read_bytes_total
-
node_disk_written_bytes_total
-
node_filesystem_avail_bytes
-
node_filesystem_size_bytes