Skip to content
Snippets Groups Projects
Commit 3ff5d012 authored by Lucas Serven's avatar Lucas Serven
Browse files

contrib: remove duplicate alertmanager alert

parent 57a0e161
No related branches found
No related tags found
No related merge requests found
...@@ -17,19 +17,6 @@ ...@@ -17,19 +17,6 @@
severity: 'critical', severity: 'critical',
}, },
}, },
{
alert: 'AlertmanagerDownOrMissing',
annotations: {
message: 'An unexpected number of Alertmanagers were scraped or disappeared from discovery.',
},
expr: |||
label_replace(prometheus_operator_alertmanager_spec_replicas{%(prometheusOperatorSelector)s}, "job", "alertmanager-$1", "alertmanager", "(.*)") / ON(job) GROUP_RIGHT() sum(up{%(alertmanagerSelector)s}) BY (job) != 1
||| % $._config,
'for': '5m',
labels: {
severity: 'warning',
},
},
{ {
alert: 'AlertmanagerFailedReload', alert: 'AlertmanagerFailedReload',
annotations: { annotations: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment