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.
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.
|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.|
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:
|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.|
|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.