Configuring the Cluster Manager to Collect the Alerts 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. Configure the alert port to receive the alerts:

    configure 
      prometheus federation remote-cluster-certs alert-rx-port port_number 

    Example:

    cee# config terminal
    cee(config)# prometheus federation remote-cluster-certs alert-rx-port 8701
  3. Add all the remote clusters to the federation.

    configure
      prometheus federation subordinates remote_cluster_ip 

NOTES:

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

  • federation remote-cluster-certs remote_cluster_ip —Configure the specifies remote cluster with SSL certificates.

  • prometheus federation remote-cluster-certs alert-rx-port port_number —Configure the alert port to receive the alerts.

  • prometheus federation subordinates remote_cluster_ip —Add all the remote clusters to the federation.