The Simplest Way to Make Ceph and Datadog Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running ceph and datadog together lets your team track distributed storage health in real time. A local collector agent reads cluster state and sends metrics to your dashboard. Storage clusters hold critical data across many disks and nodes. When a disk fails, the cluster moves data to healthy disks right away. Tracking this data flow helps engineers spot slow disks before users see errors. A good setup links storage metrics with host logs in one clear view. How ceph and datadog share data an

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.

Running ceph and datadog together lets your team track distributed storage health in real time. A local collector agent reads cluster state and sends metrics to your dashboard.

Storage clusters hold critical data across many disks and nodes. When a disk fails, the cluster moves data to healthy disks right away. Tracking this data flow helps engineers spot slow disks before users see errors. A good setup links storage metrics with host logs in one clear view.

How ceph and datadog share data and permissions

The storage cluster runs manager daemons that track cluster health and disk usage. The monitoring agent runs on your storage nodes or on a nearby host. This agent queries the storage manager or reads from a local metric endpoint. Then, the agent forwards those numbers to the cloud dashboard over an encrypted link.

To read cluster stats, the agent needs a storage user key. You should create a read-only user role inside the storage cluster for this task. This role only allows the agent to read cluster status and pool size. It cannot write data, delete pools, or change cluster rules.

On the other side, the agent uses an API key to send metrics out. You store this key on the host where the agent runs. Keep both keys safe and limit which hosts can read them.

Common failure modes and how to scope roles

Many teams use the main admin key to set up monitoring fast. This is a big risk for your storage system. If someone steals that admin key, they can delete all your storage pools. Always replace admin keys with a dedicated read-only user key.

Another common issue is polling the cluster from too many agents at once. If every host asks the cluster manager for full stats, the manager slows down. Instead, run the cluster check on just a few manager nodes. Let other nodes only report local disk and network stats.

End-to-End Encryption + Datadog Security Monitoring: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged manual commands also cause problems during an outage. When an alert fires, engineers log in to storage nodes to run health checks. If everyone shares one root account, you cannot see who changed a setting. You also risk leaking sensitive data in command outputs, like user emails or phone numbers. Masking rewrites matched fields in results, such as card numbers or national IDs.

Network paths between the agent and the storage manager also need strict rules. Only allow the agent host to talk to the manager metric port. Block public network traffic from reaching the storage cluster management ports.

How to organize alerts for storage health

Good alerts focus on symptoms that hurt user apps. Do not alert on every single disk flap in a big cluster. The storage system fixes single disk failures on its own.

Instead, set alerts for high pool usage and slow read or write times. Watch for stuck placement groups that cannot heal after a node reboots. Track how fast the cluster fills up so you can add disks on time. Keep alert rules simple so the on-call engineer knows what to fix first.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

What permissions does the monitoring agent need on the storage cluster?

The agent only needs read permissions for cluster manager modules and monitor stats. It never needs write or admin permissions on any data pools.

Should I run the storage check on every single node?

No, running cluster-wide checks on every node adds extra load to the manager. Run the main cluster check on manager nodes and basic host checks elsewhere.

Why are my storage metrics missing from the dashboard?

Missing metrics usually mean a blocked network port or an expired user key. Check that the agent can reach the active manager node and read its status.

The query runs. The emails stay hidden.