Table of Contents
This feature is introduced in version 1.7.1.
This feature is only applicable for agent-based monitoring using Prometheus. You will be presented with a notification panel to enable agent-based monitoring if it has not been activated.
To understand how ClusterControl performs monitoring jobs, see Monitoring Operations.
Starting from ClusterControl 1.9.7 (September 2023), ClusterControl GUI v2 is the default frontend graphical user interface (GUI) for ClusterControl. Note that the GUI v1 is considered a feature-freeze product with no future development. All new developments will be happening on ClusterControl GUI v2. See User Guide (GUI v2).
Enable Agent-Based Monitoring
Opens a side-menu pop-up to configure a Prometheus server. You can re-use an existing Prometheus server for multiple clusters within one ClusterControl instance. For a new Prometheus deployment, ClusterControl will install the Prometheus server on the target host and configure exporters on all monitored hosts according to their role for that particular cluster. If you choose an existing Prometheus server, ClusterControl will connect to the data source and also configure the Prometheus exporters accordingly.
Field | Description |
---|---|
Select Host | Pick a host to be configured as the Prometheus server. If you already have a running Prometheus server, the dropdown will list out the existing instance and you can pick it up from the list. Ensure ClusterControl can perform passwordless SSH to the target node |
Scrape Interval | How frequently to scrape targets by default. This is a Prometheus global configuration. See Global Configuration. |
Data Retention(days) | Monitoring data retention period. See Global Configuration. |
Configure Exporters | Manually configure individual exporters scrape interval and command-line arguments to be passed. |
Monitoring Dashboards
Dashboards are composed of individual monitoring panels arranged on a grid. For MongoDB, ClusterControl pre-configures a number of dashboards depending on the cluster type and host’s role. The following table explains them:
Dashboard | Cluster Type | Description |
---|---|---|
System Overview | MongoDB ReplicaSet/Sharded Cluster | Provides panels of host metrics and usage for an individual host. |
Cluster Overview | MongoDB ReplicaSet/Sharded Cluster | Provides selected host and database metrics for all hosts for comparison. |
MongoDB Cluster Overview | MongoDB Sharded Cluster | Provides panels related to all Mongos of the cluster. |
MongoDB ReplicaSet | MongoDB ReplicaSet/Sharded Cluster | Provides panels related to a replica set for the individual database hosts. |
MongoDB Server | MongoDB ReplicaSet/Sharded Cluster | Provides panels of general database metrics and usage for the individual database host. |
Field | Â Description |
---|---|
Dashboard |
|
Node |
|
Range Selection |
|
Zoom Out |
|
Refresh Rate |
|
Configuration |
|
Re-enable Agent-Based Monitoring |
|
Disable Agent-Based Monitoring |
|
For more info on how ClusterControl performs monitoring jobs, see Monitoring Operations. To learn more about Prometheus monitoring system and exporters, please refer to Prometheus Documentation.