ceph/monitoring/prometheus
Sebastian Wagner aae2ea3897
Merge pull request #43293 from pcuzner/granular-alerts
mgr/prometheus: expose ceph healthchecks as metrics

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-29 00:23:24 +02:00
..
alerts mgr/prometheus: add test cases and validation using tox 2021-10-22 13:36:40 +13:00
tests mgr/prometheus: remove cmake tests 2021-10-27 09:58:17 +13:00
CMakeLists.txt monitoring/prometheus: Add cmake integration 2021-10-22 13:37:31 +13:00
README.md monitoring:Updated README 2021-10-06 14:32:47 +13:00

Alerts

In monitoring/prometheus/alerts you'll find a set of Prometheus alert rules that should provide a decent set of default alerts for a Ceph cluster. Just put this file in a place according to your Prometheus configuration (wherever the rules configuration stanza points).

SNMP

Ceph provides a MIB (CEPH-PROMETHEUS-ALERT-MIB.txt) to support sending Prometheus alerts through to an SNMP management platform. The translation from Prometheus alert to SNMP trap requires the Prometheus alert to contain an OID that maps to a definition within the MIB. When making changes to the Prometheus alert rules file, developers should include any necessary changes to the MIB.