alertmanager prometheus debug monitoring Debug receiver¶ Deployment¶ OCdeployment.yaml 1oc apply -f https://examples.openshift.pub/cluster-configuration/monitoring/alertmanager/debug-receiver/deployment.yaml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44--- apiVersion: apps/v1 kind: Deployment metadata: name: debug-receiver spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app: debug-receiver template: metadata: labels: app: debug-receiver spec: containers: - image: registry.access.redhat.com/ubi8/python-38:latest name: python command: - /bin/sh - -c - | pip install pyserv serv 9393 --- apiVersion: v1 kind: Service metadata: labels: app: debug-receiver name: debug-receiver spec: ports: - name: alert-debug-receiver port: 9393 protocol: TCP targetPort: 9393 selector: app: debug-receiver sessionAffinity: None type: ClusterIP Configure alertmanager¶ Administrator -> Cluster Settings -> Global configuration -> Alertmanager -> Create Receiver 2022-06-05 2021-06-18 Contributors: