Integration with ADPG cluster

In order to determine that a new cluster should be monitored, it is necessary to integrate it with the previously created monitoring cluster.

The steps for building integration between a monitoring cluster and ADPG cluster are described below. All actions should be performed on the base of ADPG cluster.

Step 1. Importing monitoring settings

  1. From the CLUSTERS tab switch to the cluster configuring. To do this, click the row that contains the added cluster or click the icon in the Config column. Both methods open the cluster menu.

    config installed cluster
    Switching to cluster configuring
  2. Open the Import tab in the cluster menu.

  3. Select two components in the Graphite and Grafana panes. These components correspond to the related services of the previously created monitoring cluster.

  4. Click Save.

    mon import
    Integrating with the monitoring cluster

Step 2. Enable monitoring

If the ADPG cluster is already installed, open the CLUSTER tab in ADCM UI and execute the Install monitoring agents action. This action installs monitoring agents on all hosts of the cluster.

Execute the Install monitoring agents action
Execute the "Install monitoring agents" action

Open the Configuration tab of the ADPG cluster and check if the Enable monitoring checkbox is selected.

The Enable monitoring checkbox is selected
The "Enable monitoring" checkbox is selected

If the ADPG cluster is not installed, open the Configuration tab of the ADPG cluster and select the Enable monitoring checkbox before the ADPG cluster installation.

Step 3. Verify the results

To ensure that installation process is completed successfully, check the following:

  • System metrics are collected from the hosts of your cluster, not only from the host where the monitoring cluster has been deployed earlier.

  • Along with system metrics, service metrics are collected from the hosts of your cluster. For example, ADPG provides the following metrics: active_clients, av_workers, and others.

You can check it both in the Graphite and Grafana web-interface.

Graphite

  1. Enter in the browser bar the address of the host where the monitoring cluster is deployed. To specify the port number, use the value of the Web-interface TCP port parameter from the ip_and_ports section defined when configuring the Graphite service during the monitoring cluster installation. The value 80 (used by default) can be omitted.

  2. Expand a tree at the left side of the opened form. System and service metrics are displayed there, grouped by hosts. You can select some of these metrics to view their change dynamics in the form of a graph at the right side of the screen.

    monitoring graphite dark
    New hosts and service metrics are available in Graphite
    monitoring graphite light
    New hosts and service metrics are available in Graphite

Grafana

  1. Enter in the browser bar the address of the host where the monitoring cluster is deployed. To specify the port number, use the value of the Port parameter from the ip_and_ports section defined when configuring the Grafana service during the monitoring cluster installation (by default 3000).

  2. Select the Home menu item in the opened form.

  3. Notice that new dashboards are available. Select one of them to view the service metrics that are collected from your cluster.

    monitoring grafana main
    Switching to service metrics
  4. View available graphs.

    monitoring grafana dashboard
    Viewing service metrics

For information on available monitoring metrics, refer to ADPG monitoring metrics.

Found a mistake? Seleсt text and press Ctrl+Enter to report it