Merge "Don't expect a static job name"

This commit is contained in:
Zuul 2024-03-21 15:53:35 +00:00 committed by Gerrit Code Review
commit 945c958ff4
1 changed files with 2 additions and 2 deletions

View File

@ -343,7 +343,7 @@ groups:
annotations:
description: "The mgr/prometheus module at {{ $labels.instance }} is unreachable. This could mean that the module has been disabled or the mgr daemon itself is down. Without the mgr/prometheus module metrics and alerts will no longer function. Open a shell to an admin node or toolbox pod and use 'ceph -s' to to determine whether the mgr is active. If the mgr is not active, restart it, otherwise you can determine module status with 'ceph mgr module ls'. If it is not listed as enabled, enable it with 'ceph mgr module enable prometheus'."
summary: "The mgr/prometheus module is not available"
expr: "up{job=\"ceph\"} == 0"
expr: "up{} == 0"
for: "1m"
labels:
oid: "1.3.6.1.4.1.50495.1.2.1.6.2"
@ -601,7 +601,7 @@ groups:
annotations:
description: "The prometheus job that scrapes from Ceph is no longer defined, this will effectively mean you'll have no metrics or alerts for the cluster. Please review the job definitions in the prometheus.yml file of the prometheus instance."
summary: "The scrape job for Ceph is missing from Prometheus"
expr: "absent(up{job=\"ceph\"})"
expr: "absent(up{})"
for: "30s"
labels:
oid: "1.3.6.1.4.1.50495.1.2.1.12.1"