Ceph monitoring with Topologix
Infrastructure & Networking
One integration per Ceph cluster, read over the Ceph Manager REST API (the Dashboard API) with a read-only Dashboard user: every health check by its code, monitors, OSDs, placement groups, pools, raw capacity with a forecast, hosts, RGW, CephFS and CRUSH rules. The optional mgr Prometheus module adds history (OSD latency, pool IO, recovery). Every few hours the cluster’s RBD images are read too, and an image is linked to the VM that uses it when its name follows a known convention.
Requirements
- The Dashboard module enabled on the managers (
ceph mgr module enable dashboard), reachable over HTTPS (port 8443 by default). The API is versioned: Topologix asks forapplication/vnd.ceph.api.v1.0+jsonand falls back to the unversioned type on releases without it. - A Dashboard user with the built-in read-only role, for example
ceph dashboard ac-user-create topologix -i /path/to/password-file read-only. Only the login is a POST (/api/auth); every other call is a GET and nothing is changed on the cluster. The login token lives 8 hours: it is cached and requested again when the cluster answers 401. - List every manager URL. Only the active manager serves the API; a standby answers with a redirect (303), or with HTTP 500 when
standby_behaviouriserror. Either way the next URL is tried. - Optional: the Prometheus module (
ceph mgr module enable prometheus, port 9283) for the history preset. - HTTPS reach from the server or a proxy agent (proxy 1.361.0 or later). The Verify TLS certificate toggle covers a self-signed manager certificate.
1 · Set up the integration
- Open the Integrations pageClick Integrations in the toolbar and pick Ceph from the catalogue.
- Enter the managers and the read-only userOne manager URL per line (
https://ceph-mgr1.example.com:8443), the Dashboard user name and password, the optional Prometheus module URL, and the topology cadence (every 1–6 hours, or off). Each value shows where it comes from. The password is sealed at rest. - Create, then verifyClick Create, reopen the integration and click Test. It logs in, reads the cluster summary and names the Ceph release, the health status and, when a standby answered first, the active manager. A refused login names the read-only role.
2 · Add it to a flow
- Select the storage nodeClick the node, open Metrics, then + Add and choose the Ceph integration.
- Pick what to watchChoose a preset (below) and, optionally, the thresholds: raw capacity used %, “near-full within N days” (the forecast), pool used % and OSD apply latency.
- SaveSet the interval and click Add Source.
3 · Presets
Cluster health
The default: the status, every health check (code, severity, summary, the first detail lines, muted or not), monitors in quorum, OSDs up / in, PG states, degraded / misplaced / unfound objects, raw capacity, client IO, the OSD flags, and the capacity forecast to the cluster’s nearfull ratio.
Pool capacity
Every pool (replicated or erasure coded, size / min_size, PGs, autoscale, application, CRUSH rule, quota) with stored, used and available bytes, the fullest first.
OSD usage
Every OSD judged against the cluster’s own nearfull / full ratios; down, out and near-full OSDs are always listed, then the fullest (50 by default, editable).
Services
Hosts and their daemons, monitors, RGW daemons and buckets, CephFS (MDS state, client count), CRUSH rules and the RBD image count.
Prometheus module (history)
A fixed list of the module’s metrics: OSD apply / commit latency, pool read / write operations and bytes (rates from two reads), recovery operations, PG and object health. Nothing else is kept.
4 · Alerts
Health checks by code
Every health check is its own item, keyed by its code (OSD_DOWN, PG_DEGRADED, POOL_NEAR_FULL, MON_DOWN, MON_CLOCK_SKEW, SLOW_OPS …): a HEALTH_ERR check turns the source red, a HEALTH_WARN amber. Tick one alert per item on the alert rule to get one alert per code, each recovering on its own. A muted check never alerts. The summary and detail text of a check goes through the organisation’s redaction rules (the logs scope) before it leaves the proxy.
OSD near-full and full
Judged against the cluster’s own nearfull_ratio / full_ratio (Ceph’s defaults 85 % / 95 % when unreadable).
The capacity forecast
A straight line through daily means of raw used % — at least 6 days, a line that explains the data (r² ≥ 0.5), no estimate beyond four times the fitted span — the same rules as the hypervisor capacity forecast. It starts collecting when the proxy (or server) starts.
5 · RBD images and their consumers
The topology read lists the RBD images of every pool whose application is rbd (at most 5 000 per pass). Each image’s identifier is rbd:<pool>/<image>. Ceph keeps no record of who uses an image, so the link comes from the naming conventions of the platforms that create them.
OpenStack Cinder
volume-<uuid> is linked to the VM whose Cinder volume list holds that volume id.
Kubernetes ceph-csi / Rook
csi-vol-<uuid> is recognised as a PersistentVolume (its volume handle ends in that uuid).
CloudStack
An image named by a bare volume uuid.
Proxmox VE
vm-<id>-disk-<n>.
No match, no guess
An image that matches no convention, or whose consumer is not read by an integration of the same organisation, is listed on the integration’s storage block with the reason and is never guessed. Two consumers naming the same image make it ambiguous: it is not linked.
6 · Ceph hosts on the Servers page
Hosts and OSDs
The topology read also lists the cluster’s hosts with their addresses (the host address and every OSD’s public address) and the OSDs on them. A host’s addresses are named by its host name in Topology, below any monitored name (a host agent, a hypervisor or a BMC). On Infrastructure → Servers, a server whose address or host name is a Ceph host shows its OSDs (class, used %, down / out) in the details’ Storage (Ceph) line.
Good to know
- A read is bounded: at most 80 requests and 45 seconds a poll (the topology read: 300 requests, 90 seconds, 5 000 images); OSD, pool and host lists are capped and anything cut is marked truncated with a note. The reply is at most 1 MB.
- A path the release does not answer, or the read-only role cannot read, becomes a note on the source. Only a refused login fails the read. RGW without dashboard credentials answers 500 — that is a note, too.
- The cluster’s Ceph release is checked against the vulnerability feed (
a:ceph:ceph). - Live verification against a real cluster is pending; the reader follows the documented API shapes (docs.ceph.com, Ceph RESTful API).
More Infrastructure & Networking integrations
See it on your own infrastructure
Book a demo and we will walk you through Topologix with your systems in mind: on our cloud, or self-hosted in your own network.