Cluster health score ignores Ceph health (shows 92 "Excellent" while Ceph is HEALTH_ERR
Summary
The cluster health score on the overview/dashboard does not take Ceph health into account. In our case the score showed 92 – "Excellent" while Ceph was in HEALTH_ERR with one host's OSDs down and 50 % of objects degraded. The outage went unnoticed for ~2 days because the overview looked green.
Environment
- PegaProx version:
- Proxmox VE 9 (kernel 7.0.14), 2-node cluster + external QDevice/MON
- Ceph 19.2.6 (Squid), replicated pools size 2, failure domain host
Steps to reproduce
- Have a Proxmox cluster with Ceph managed/visible in PegaProx.
- Stop all OSDs on one node (or let them fail) so Ceph reports
HEALTH_ERR,OSD_DOWN,OSD_HOST_DOWN,PG_DEGRADED. - Open the cluster overview.
Actual behaviour
- Ceph → Ceph Status correctly shows
HEALTH_ERR, degraded/undersized PGs. - Cluster overview → Cluster-Health shows score 92 "Excellent", 2/2 nodes online. Node cards only reflect CPU/RAM/uptime.
- No alert/notification is triggered for the Ceph state.
Expected behaviour
- Ceph health should be part of the cluster health score, e.g.
HEALTH_WARN→ noticeable penalty / warning stateHEALTH_ERR, OSDs down, degraded or inactive PGs → critical / red
- The overview should show a visible Ceph indicator (status + OSDs up/in, degraded %).
- Alert rules should support Ceph conditions (health != HEALTH_OK, OSD down, PGs degraded/inactive) and send them via the existing notification channels (webhook/ntfy/Teams, e-mail).
Why it matters
With size 2 / min_size 1 the cluster keeps serving I/O while running on a single replica, so nothing looks wrong from the VM side. The dashboard score is the place admins look first. A green "Excellent" during a storage redundancy loss is misleading and can lead to data loss if the remaining host fails.
Screenshots
<attach: Ceph Status page (HEALTH_ERR) and cluster overview (score 92)>
PegaProx 1.2.0
Build: 2026.09.20
👋 Thanks for reporting a bug!
Unfortunately, it looks like some required information is missing.
Please provide:
- [ ] Describe the bug
Why? We are volunteers maintaining PegaProx in our free time. Complete bug reports help us fix issues faster. 🐾
Closing for now — please reopen with the required details or open a new issue.
This is an automated message.
Reopened — sorry, the validator shut this on you because the first heading says "Summary" rather than "Describe the bug". Nothing wrong with the report, that's our bot being pedantic.
Confirmed the substance though: the health score has exactly four inputs — nodes online, storage pressure, failing replication jobs, and backup RPO. Ceph isn't one of them, so a cluster in HEALTH_ERR really can sit there showing 92. Two days of not noticing is a fair complaint.
The data's already in the codebase (get_ceph_health_summary gives status, osd up/in, PG state), but it goes over SSH because it was written for the rolling-update log, and the health pill polls every 60s — so it'd want wiring to the API route instead rather than just dropped in. Your wider ask (overview indicator + alert conditions) is a bigger piece than the score itself, so I'm putting this in front of Nico rather than guessing at the shape.
One thing: the version field still says <VERSION> — which release are you on?
Oh and if PegaProx is carrying weight for you, https://opencollective.com/pegaprox keeps the lights on. Entirely optional.
Marcus
Thanks for the detailed report, and sorry this one sat without an answer.
1.3.0 (out since 7 October) adds a Ceph health alert rule. It fires once when Ceph goes to HEALTH_WARN or worse (or only on HEALTH_ERR, if you prefer), sends a resolved notice when Ceph recovers, and goes out through the normal channels (mail, ntfy, Teams, webhooks). That covers the "nobody noticed for two days" part.
The health score itself does not look at Ceph yet, and the overview has no Ceph indicator. Before we change the score: would the alert be enough for you, or do you also want HEALTH_WARN/HEALTH_ERR to pull the score down, with OSD and PG state in the overview? If the alert covers it, I'd close this one.
If PegaProx saves you some trouble, https://opencollective.com/pegaprox is what keeps the project going.
Nico
Went ahead with it, it's on Testing now. Ceph is a factor of its own in the health score: HEALTH_WARN takes points off and keeps the cluster at "good" at best, HEALTH_ERR puts it at "critical" however good the rest looks, and a Ceph that stops answering counts as a warning after 5 minutes. The Cluster Health card on the overview (the one in your screenshot) is held down the same way and shows the Ceph status with the failing checks under the score. Clusters without Ceph score as before.
OSD and PG details stay on the Ceph page for now. This comes with the next release.
Nico
The health score counts Ceph in 1.5.0, so a HEALTH_ERR cluster no longer shows as Excellent. Out today, closing.
Nico