]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: Update rule format and enhance SNMP support 43783/head
authorPaul Cuzner <pcuzner@redhat.com>
Wed, 3 Nov 2021 02:24:20 +0000 (15:24 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 4 Nov 2021 22:24:25 +0000 (11:24 +1300)
commit7ffcbd7f7955b443ffd4293a497b2a99180a3ad2
tree6461bbaf0cb79b683459a6758350cb677ab4ec10
parentc2c729736011b7c58ac4e1070d5027fd6e4d0229
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