monitoring: disable new alerts that are not applicable to rook

The new alerts picked up for Rook v1.9 directly from the ceph repo
were not all rook-compliant. The alert for the prometheus job not
running is not needed since Rook and K8s go to great lengths to
keep the mgr pod running already.

The alert for the cluster filling up soon is also disabled
until we find how to get the formula working in rook clusters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2022-04-19 14:57:05 -06:00
1 parent 299d6cf4eb
commit e45781d0d3
2 files changed
+6 -68

No files matched your search

@@ -717,19 +717,6 @@ groups:
- name: pools
rules:
- alert: CephPoolGrowthWarning
expr: |
(predict_linear(ceph_pool_percent_used[2d], 3600 * 24 * 5) * on(pool_id)
group_right ceph_pool_metadata) >= 95
labels:
severity: warning
type: ceph_default
oid: 1.3.6.1.4.1.50495.1.2.1.9.2
annotations:
summary: Pool growth rate may soon exceed it's capacity
description: >
Pool '{{ $labels.name }}' will be full in less than 5 days
assuming the average fill-up rate of the past 48 hours.
- alert: CephPoolBackfillFull
expr: ceph_health_detail{name="POOL_BACKFILLFULL"} > 0
labels:
@@ -793,7 +780,7 @@ groups:
summary: MON/OSD operations are slow to complete
description: >
{{ $value }} OSD requests are taking too long to process (osd_op_complaint_time exceeded)
# cephadm alerts
# cephadm alerts
- name: cephadm
rules:
- alert: CephadmUpgradeFailed
@@ -837,25 +824,7 @@ groups:
orchestrator from service management and reconciliation. If this is
not intentional, resume cephadm operations with 'ceph orch resume'
# prometheus alerts
- name: PrometheusServer
rules:
- alert: PrometheusJobMissing
expr: absent(up{job="ceph"})
for: 30s
labels:
severity: critical
type: ceph_default
oid: 1.3.6.1.4.1.50495.1.2.1.12.1
annotations:
summary: The scrape job for Ceph is missing from Prometheus
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.
# Object related events
# Object related events
- name: rados
rules:
- alert: CephObjectMissing
@@ -872,7 +841,7 @@ groups:
A version of a RADOS object can not be found, even though all OSDs are up. I/O
requests for this object from clients will block (hang). Resolving this issue may
require the object to be rolled back to a prior version manually, and manually verified.
# Generic
# Generic
- name: generic
rules:
- alert: CephDaemonCrash
+3 -34
View File
@@ -726,19 +726,6 @@ spec:
- name: pools
rules:
- alert: CephPoolGrowthWarning
expr: |
(predict_linear(ceph_pool_percent_used[2d], 3600 * 24 * 5) * on(pool_id)
group_right ceph_pool_metadata) >= 95
labels:
severity: warning
type: ceph_default
oid: 1.3.6.1.4.1.50495.1.2.1.9.2
annotations:
summary: Pool growth rate may soon exceed it's capacity
description: >
Pool '{{ $labels.name }}' will be full in less than 5 days
assuming the average fill-up rate of the past 48 hours.
- alert: CephPoolBackfillFull
expr: ceph_health_detail{name="POOL_BACKFILLFULL"} > 0
labels:
@@ -802,7 +789,7 @@ spec:
summary: MON/OSD operations are slow to complete
description: >
{{ $value }} OSD requests are taking too long to process (osd_op_complaint_time exceeded)
# cephadm alerts
# cephadm alerts
- name: cephadm
rules:
- alert: CephadmUpgradeFailed
@@ -846,25 +833,7 @@ spec:
orchestrator from service management and reconciliation. If this is
not intentional, resume cephadm operations with 'ceph orch resume'
# prometheus alerts
- name: PrometheusServer
rules:
- alert: PrometheusJobMissing
expr: absent(up{job="ceph"})
for: 30s
labels:
severity: critical
type: ceph_default
oid: 1.3.6.1.4.1.50495.1.2.1.12.1
annotations:
summary: The scrape job for Ceph is missing from Prometheus
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.
# Object related events
# Object related events
- name: rados
rules:
- alert: CephObjectMissing
@@ -881,7 +850,7 @@ spec:
A version of a RADOS object can not be found, even though all OSDs are up. I/O
requests for this object from clients will block (hang). Resolving this issue may
require the object to be rolled back to a prior version manually, and manually verified.
# Generic
# Generic
- name: generic
rules:
- alert: CephDaemonCrash