]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Update rule format and enhance SNMP support 44480/head
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 3 Nov 2021 02:24:20 +0000 (15:24 +1300)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 10 Jan 2022 10:01:51 +0000 (15:31 +0530)
commitcfc4d3ec67292cc79e28d64582751e10fe5710af
tree41ba1300869c4f171d29b42485112d13223a2d1c
parent4d63f5612274985fd604c9b8bfce03e990abfa98
mgr/prometheus: Update rule format and enhance SNMP support

Rules now adhere to the format defined by Prometheus.io.
This changes alert naming and each alert now includes a
a summary description to provide a quick one-liner.

In addition to reformatting some missing alerts for MDS and
cephadm have been added, and corresponding tests added.

The MIB has also been refactored, so it now passes standard
lint tests and a README included for devs to understand the
OID schema.

Fixes: https://tracker.ceph.com/issues/53111
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
monitoring/prometheus/alerts/ceph_default_alerts.yml
monitoring/prometheus/tests/test_alerts.yml
monitoring/prometheus/tests/validate_rules.py
monitoring/snmp/CEPH-MIB.txt [new file with mode: 0644]
monitoring/snmp/README.md [new file with mode: 0644]