---
title: Prometheus, Grafana, and Alertmanager
description: This page describes the legacy CDM implementation, which will be deprecated in an upcoming release. We strongly recommend that you transition to the current CDM implementation as soon as possible.
component: forgeops
version: 7.2
page_id: forgeops::legacy/cdm/eks/setup/prometheus
canonical_url: https://docs.pingidentity.com/forgeops/7.2/legacy/cdm/eks/setup/prometheus.html
section_ids:
  next_step: Next step
---

# Prometheus, Grafana, and Alertmanager

|   |                                                                                                                                                                                                                                       |
| - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | This page describes the legacy CDM implementation, which will be deprecated in an upcoming release. We strongly recommend that you transition to [the current CDM implementation](../../../../cdm/overview.html) as soon as possible. |

Use Prometheus, Grafana, and Alertmanager when you deploy the CDM.

After you've finished deploying the CDM, you can use the CDM as a sandbox to explore deployment with a different monitoring and alerting framework.

Remember, [the CDM is a reference implementation and not for production use](../../../../start/start-here.html#cdm-sandbox). When you [create a project plan](../../../../start/start-here.html#planning), you'll need to determine how to monitor and send alerts in your production deployment.

To deploy Prometheus, Grafana, and Alertmanager:

1. Deploy Prometheus, Grafana, and Alertmanager in your cluster:

   ```
   $ /path/to/forgeops/bin/prometheus-deploy.sh

   This script requires Helm version 3.04 or later due to changes in the behaviour of 'helm repo add' command.

   namespace/monitoring created
   "stable" has been added to your repositories
   "prometheus-community" has been added to your repositories
   Hang tight while we grab the latest from your chart repositories…​
   …​Successfully got an update from the "ingress-nginx" chart repository
   …​Successfully got an update from the "codecentric" chart repository
   …​Successfully got an update from the "prometheus-community" chart repository
   …​Successfully got an update from the "stable" chart repository
   Update Complete. ⎈Happy Helming!⎈
   Release "prometheus-operator" does not exist. Installing it now.
   NAME: prometheus-operator
   LAST DEPLOYED: . . .
   NAMESPACE: monitoring
   STATUS: deployed
   REVISION: 1
   NOTES:
   . . .
   pod/prometheus-operator-prometheus-node-exporter-klgw2 condition met
   pod/prometheus-operator-prometheus-node-exporter-nv2jn condition met
   pod/prometheus-prometheus-operator-kube-p-prometheus-0 condition met
   Release "forgerock-metrics" does not exist. Installing it now.
   NAME: forgerock-metrics
   LAST DEPLOYED: . . .
   NAMESPACE: monitoring
   STATUS: deployed
   REVISION: 1
   TEST SUITE: None
   ```

2. Check the status of the pods in the `monitoring` namespace until all the pods are ready:

   ```
   $ kubectl get pods --namespace monitoring
   NAME                                                     READY   STATUS    RESTARTS   AGE
   alertmanager-prometheus-operator-kube-p-alertmanager-0   2/2     Running   0          6m20s
   prometheus-operator-grafana-5c7677f88b-jzd22             2/2     Running   0          6m24s
   prometheus-operator-kube-p-operator-58cbbf67b5-4lchb     1/1     Running   0          2m1s
   prometheus-operator-kube-state-metrics-957fc5f95-fdvgz   1/1     Running   0          6m24s
   prometheus-operator-prometheus-node-exporter-6prrn       1/1     Running   0          6m24s
   prometheus-operator-prometheus-node-exporter-6wr4b       1/1     Running   0          6m24s
   prometheus-operator-prometheus-node-exporter-9qmtw       1/1     Running   0          95s
   prometheus-operator-prometheus-node-exporter-g4p7f       1/1     Running   0          110s
   prometheus-operator-prometheus-node-exporter-hjf28       1/1     Running   0          6m24s
   prometheus-operator-prometheus-node-exporter-nv2jn       1/1     Running   0          6m24s
   prometheus-prometheus-operator-kube-p-prometheus-0       2/2     Running   1          2m1s
   ```

## Next step

* [icon: check-square-o, set=fa][Understand CDM architecture on EKS](architecture.html)

* [icon: check-square-o, set=fa][Install third-party software](sw.html)

* [icon: check-square-o, set=fa][Set up your AWS environment](aws-env.html)

* [icon: check-square-o, set=fa][Get the forgeops repository](forgeops.html)

* [icon: check-square-o, set=fa][Create a Kubernetes cluster](cluster.html)

* [icon: check-square-o, set=fa][Install the Secret Agent operator](secret-agent.html)

* [icon: check-square-o, set=fa][Deploy the Ingress-NGINX controller](nginx.html)

* [icon: check-square-o, set=fa][Deploy certificate manager](cert-manager.html)

* [icon: check-square-o, set=fa][Deploy Prometheus, Grafana, and Alertmanager](#)

* [icon: square-o, set=fa]*[Prepare to push Docker images](push.html)*
