How To Install ceph-prometheus-alerts on Fedora 36

In this tutorial we learn how to install ceph-prometheus-alerts in Fedora 36. ceph-prometheus-alerts is Prometheus alerts for a Ceph deplyoment

Introduction

In this tutorial we learn how to install ceph-prometheus-alerts on Fedora 36.

What is ceph-prometheus-alerts

This package provides Ceph default alerts for Prometheus.

We can use yum or dnf to install ceph-prometheus-alerts on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ceph-prometheus-alerts.

Install ceph-prometheus-alerts on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ceph-prometheus-alerts using dnf by running the following command:

sudo dnf -y install ceph-prometheus-alerts

Install ceph-prometheus-alerts on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ceph-prometheus-alerts using yum by running the following command:

sudo yum -y install ceph-prometheus-alerts

How To Uninstall ceph-prometheus-alerts on Fedora 36

To uninstall only the ceph-prometheus-alerts package we can use the following command:

sudo dnf remove ceph-prometheus-alerts

ceph-prometheus-alerts Package Contents on Fedora 36

/etc/prometheus/ceph
/etc/prometheus/ceph/ceph_default_alerts.yml

References

Summary

In this tutorial we learn how to install ceph-prometheus-alerts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).