The Simplest Way to Make Ceph and Checkmk Work Like They Should
Using ceph and checkmk together lets teams watch storage cluster health in real time. Checkmk reads cluster state from Ceph so operators catch disk failures and full pools early. Storage clusters hold critical data across many nodes and disks. When a drive fails or a pool fills up, teams need fast alerts. Linking these two systems gives engineers one place to see storage speed and space. How ceph and checkmk share cluster health data Ceph runs monitor nodes and manager nodes that track the s
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using ceph and checkmk together lets teams watch storage cluster health in real time. Checkmk reads cluster state from Ceph so operators catch disk failures and full pools early.
Storage clusters hold critical data across many nodes and disks. When a drive fails or a pool fills up, teams need fast alerts. Linking these two systems gives engineers one place to see storage speed and space.
How ceph and checkmk share cluster health data
Ceph runs monitor nodes and manager nodes that track the state of all disks. Checkmk uses an agent or plugin on a cluster host to ask for this status. The agent calls the storage cluster interface and asks for health metrics in structured text.
To make this call work, the agent needs a valid Ceph user key. The storage cluster checks this key before it sends back pool stats or disk states. Once the check passes, the agent sends the health report back to the Checkmk server.
The monitoring server then parses the report and turns each pool and disk into a service check. Operators see green, yellow, or red states for placement groups, monitor quorum, and raw space. If a disk drops out, the server sends an alert to the on-call team right away.
Common permission traps with storage monitoring
The biggest mistake teams make is giving the monitoring agent the main cluster admin key. That main key can delete pools, change crush maps, and wipe out raw block data. If an attacker compromises the monitoring host, they gain full control over every storage node.
Another common issue is copying one shared key across dozens of cluster nodes. When a key leaks or an engineer leaves, rotating that secret breaks checks across every host. Teams also struggle when manual debug commands run under the same shared account as the agent. Audit logs then show the agent user rather than the person who ran the command.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
How to scope keys and network paths
You can fix the permission risk by creating a read-only user key for your checks. Ceph lets you limit a key so it can only read state from monitor and manager nodes. This key should have zero write or read permissions on actual data pools.
Next, place the monitoring plugin on a small set of manager nodes instead of every disk host. One manager node already knows the health of the entire storage cluster. Polling just the manager nodes cuts down network noise and reduces the number of keys on disk.
You should also restrict network paths between the monitoring server and your storage network. Only allow the monitoring server to reach the agent port on the designated manager hosts. Keep the backend replication network closed to all monitoring traffic so data copies stay fast and safe.
Finally, separate your automated monitoring checks from human debug work on the cluster. Let the agent use its read-only key for status polls on a fixed schedule. Require engineers to use their own named roles when they run commands to fix a broken disk.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Does the Checkmk agent need the Ceph admin key?
No, the agent only needs a user key with read access to monitor and manager nodes. It never needs permission to change cluster settings or read raw object data.
Should we run the storage plugin on every OSD node?
No, you should only run the cluster check plugin on your monitor or manager nodes. Those nodes already track the state of the whole cluster, which prevents duplicate alerts.
How do we protect sensitive data during storage checks?
Give the monitoring key zero access to data pools so it only reads cluster health numbers. For human engineers running cluster checks, data masking can rewrite emails or card numbers in results.
Related guides
In this post