mirror of
https://github.com/ceph/ceph
synced 2025-01-08 20:21:33 +00:00
aae2ea3897
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> |
||
---|---|---|
.. | ||
alerts | ||
tests | ||
CMakeLists.txt | ||
README.md |
Prometheus related bits
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.