Ceph - OSD mail notification

Hallo!

Wir haben Proxmox in Verbindung mit Ceph im Einsatz.
Ich bin schon lange auf der Suche, das ich gerne eine Email bekommen möchte wenn eine der OSDs den Status "near full OSD(s)" bekommt (85%), und natürlich dann auch wenn es fast zu spät ist, "full osd(s)" (95%).
Ist das irgendwie möglich?

Vielen Dank und schöne Grüße,

Roman
 
Hallo Roman,
das ist ein klassischer Fall für's Monitoring. In dem Feld gibt es viele verschiedene Produkte mit unterschiedlichen Fähigkeiten und ebenso unterschiedlich steilen Lernkurven (z.B. Icinga2, check_mk, zabbix).

Ein "Monitoring für Arme" wäre ein selbstgeschriebenes Script, das per Cronjob z.B. alle 10 min aufgerufen wird und den Job erledigt...
Hierfür wäre die Ausgabe von dem Befehl "ceph -s" zu parsen.

Allerdings deutet near full auf ein anderes Problem hin (zu wenig OSDs, zu wenig PGs). Als Richtwert sollte man kein Füllgrad über 60% vom ceph-cluster haben (weil die Disks nie gleichmässig ausgelastet sind, und Reserve für ein OSD-Ausfall da sein müssen).

Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!