- Alerts and Monitoring >
- View Metrics
Ops Manager provides charts for analyzing the statistics collected by the Monitoring
Agent for your deployment’s
The agent collects metrics using several MongoDB diagnostic commands, including
serverStatus and dbStats.
Ops Manager also provides charts for analyzing hardware statistics collected by the Automation Agents. Hardware metrics are available only for automated deployments. The Automation Agents collect the metrics for the servers that run the managed MongoDB processes.
You can view data at different granularities and time periods. Charts default to the last granularity used. Ops Manager gathers metric data at a 10-second granularity.
Ops Manager preserves metric data according to Ops Manager‘s Monitoring Data Retention settings. Ops Manager administrators can modify the settings by selecting Admin, then General, then Ops Manager Config, then the Miscellaneous tab, and then scrolling to Default Monitoring Data Retention.
To view metrics, click Deployment and then click the Metrics button for the sharded cluster, replica set, or individual MongoDB process.
To add or remove charts, click either the Display or Add Chart drop-down list, depending on which is available. To display a chart’s controls, hover the mouse pointer over the chart. To view metrics for a different level in the topology of a sharded cluster or replica set, use the breadcrumb.
For additional information on displayed metrics, see the following on this page:
Replica Set Metrics¶
To add or remove charts, click the Add Chart drop-down list or click the buttons at the bottom of the page. To remove a chart, deselect it.
If you run
munin-node on your MongoDB servers and install or upgrade to
Automation Agent version 2.7.0 or higher on the servers, Ops Manager displays the
hardware data collected by the Automation Agent, not by Munin. The
historical hardware data collected by Munin is not saved.
If you run Munin but do not run the Automation Agent, Ops Manager displays the Munin charts.
The Automation Agent collects the following hardware metrics for your
|System CPU||The CPU usage of all processes (not just MongoDB processes) on the host server. For servers with more than 1 CPU core, this value can exceed 100%.|
|Normalized System CPU||The CPU usage of all processes (not just MongoDB processes) on the host server, scaled to a range of 0-100% by dividing by the number of CPU cores.|
|Process CPU||The CPU usage of the MongoDB process. For servers with more than 1 CPU core, this value can exceed 100%.|
|Normalized Process CPU||The CPU usage of the MongoDB process, scaled to a range of 0-100% by dividing by the number of CPU cores.|
|Disk Space Free - <partition>||The total bytes of free disk space on the disk partition used by MongoDB.|
|Util % - <partition>||The percentage of time during which requests are being issued to and serviced by the partition. This includes requests from any process, not just MongoDB processes.|
|Disk IOPS - <partition>||The throughput of I/O operations per second for the disk partition used for MongoDB.|
|Disk Space Percent Free - <partition>||The percent of free disk space on the partition used by MongoDB.|
|Disk Latency - <partition>||The latency in milliseconds of the disk partition used by MongoDB.|
|Disk Space Used - <partition>||The total bytes of used disk space on the partition that runs MongoDB.|
DB Stats Tab¶
This tab displays database metrics the Monitoring Agent collects through the
dbStats command. The agent collects a subset of
output. See dbStats in the MongoDB
The agent retrieves database metrics every 20 minutes by default but adjusts
frequency when necessary to reduce the impact on database performance. You can
disable the collection of database statistics by clicking
Settings, then Group Settings, and then setting
Collect Database Specific Statistics to
To select which database to display, click the Select Database drop-down list.
When viewing charts, you can do the following:
|View a chart’s description.||Click the i icon next to the chart name. (Not available for cluster-level chart)|
|Expand a chart.||Click the two-way arrow at the top right of the chart.|
|Zoom in on a period of time.||
Click and drag the mouse pointer over a portion of the chart. To reset, double-click the chart.
When you zoom, the time selections above the charts automatically update to reflect the new period displayed.
|View point-in-time statistics.||Hover the mouse pointer over a point on the chart.|
|Move a chart.||Click and hold the grabber in the upper left corner of the chart, and drag the chart to the new position.|
|Export the charts.||Click the Export drop-down list and select the format.|
|Link to a chart.||Click the curved arrow on the chart and select Chart Permalink.|
|Email the chart.||Click the curved arrow on the chart and select Email Chart.|