ceph / ceph-medic

find common issues in ceph clusters
MIT License
22 stars 18 forks source link

check: warn on unreasonable OSD configured ratios #134

Closed alfredodeza closed 5 years ago

alfredodeza commented 5 years ago

Todo: get clarity on what is an unreasonable value for an OSD configured ratio (from ceph osd dump)

jeanchlopez commented 5 years ago

The default ration are osd_full_ratio = 0.95 and osd_nearfull_ratio = 0.85

Would be best to get a warning if one of them has been modified

Would be best to get an error if the full ratio is above 0.95 has it reduces the margin of operation before the OSD is completely full.

jeanchlopez commented 5 years ago

ceph osd dump -f json-pretty | jq '. | {backfillfull_ratio, nearfull_ratio, full_ratio}'

Gives you all you need

alfredodeza commented 5 years ago

Excellent!