Configuring the Cluster Manager to Collect the Metrics from Remote Clusters

You can configure the Cluster Manager to monitor the remote clusters. The Cluster Manager acts as a client in this scenario.

To configure the Cluster Manager to collect the alerts from remote clusters:

  1. Configure the remote cluster.

    configure 
      prometheus query-mode client 
        federation remote-cluster-certs remote_cluster_IP 

    Example:

    cee# config terminal
    cee(config)# prometheus query-mode client federation remote-cluster-certs 10.84.114.218
    
    name          bxbpod
    
    # SSL multiline raw certificates
    ssl-key       "ssl-key"
    ssl-crt       "ssl-crt"
    ssl-ca        "ssl-ca"
  2. Add all the remote clusters to the federation.

    configure
      prometheus federation subordinates remote_cluster_IPs 

NOTES:

  • prometheus query-mode client - Configures the Cluster Manager to monitor the remote clusters.

  • federation remote-cluster-certs remote_cluster_IP - Configures the specifies remote cluster with SSL certificates.

  • prometheus federation subordinatesremote_cluster_IPs - Add all the remote clusters to the federation.