The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / ceph / ceph-recovery-stalled

Operations Guides

Ceph recovery stalled: degraded PGs that are not healing

ceph -s shows HEALTH_WARN or HEALTH_ERR, the cluster reports non-zero degraded or undersized placement groups, and clients still appear served. The degraded PG count is not climbing, which feels like progress. It is not. A flat degraded count with zero recovery rate is one of the most dangerous states a Ceph cluster can sit in: nothing is healing, and the operator assumes the system is working through it.

Recovery that is slow produces a descending degraded count. Recovery that is progressing produces non-zero bytes per second on the recovery line. Recovery that is stalled produces a flat line on both: the PG count does not move, and ceph_pool_recovering_bytes_per_sec sits at or near zero. The window of reduced redundancy stays open indefinitely, and the next OSD failure lands on a cluster that cannot absorb it.

This article covers the specific causes of stalled recovery, the read-only checks that localize them, and the fixes with their tradeoffs. It assumes you understand PG states and CRUSH basics; for the broader model, see how Ceph actually works in production.

What this means

A degraded PG has fewer copies of some or all objects than the pool’s configured size. An undersized PG has fewer OSDs in its acting set than size. Both mean the cluster has scheduled rebuild work. When the count stays flat while recovery throughput is zero, that work is not executing.

There are only a few ways this happens:

  • Recovery is administratively disabled (norecover, nobackfill).
  • The targets for recovery refuse to accept data because they are at or above the backfillfull ratio.
  • The PG is blocked on objects the cluster cannot find (recovery_unfound, backfill_unfound).
  • The recovery throttle is set so low that effective throughput rounds to zero.
  • A scheduler or software bug is preventing the recovery queue from draining.
  • The cluster network between source and target OSDs is saturated or partitioned.

The diagnostic procedure is the same regardless of which cause you suspect: enumerate the flags, the target capacity, the unfound objects, and the recovery rate, and the answer falls out.

Common causes

CauseWhat it looks likeFirst thing to check
norecover / nobackfill setceph osd dump shows flag in cluster flags; recovery rate is exactly zeroceph osd dump | grep flags
Target OSDs at backfillfullceph health detail shows PG_BACKFILL_FULL or PG_RECOVERY_FULL; PGs in backfill_toofull stateceph osd df for OSDs above 90%
Unfound objectsceph health detail references PGs with unfound objects; PGs in recovery_unfound or backfill_unfound stateceph health detail | grep -i unfound
Recovery throttled to zeroosd_max_backfills or osd_recovery_max_active at 0, or mClock overriding themceph config dump | grep osd_recovery and osd_mclock_override_recovery_settings
mClock ignoring legacy recovery tuning (Quincy+)You changed osd_max_backfills and saw no effectceph config get osd osd_op_queue and osd_mclock_override_recovery_settings
Scheduler hang bug (pre-fix)No flags set, capacity is fine, no unfound objects, recovery rate is still zeroCeph version; check release notes for fixed bugs
Cluster network bottleneckRecovery rate spikes then stalls; OSD commit latency rises on multiple OSDsInterface counters on cluster network links

Quick checks

These are safe read-only commands. Run them in this order; in most incidents the first three identify the cause.

# Cluster-level recovery state and degraded count
ceph -s

# Enumerate global cluster flags - look for norecover, nobackfill, noout, noup, nodown
ceph osd dump | grep flags

# Per-OSD capacity; flag column shows nearfull, backfillfull, full
ceph osd df

# List PGs in each stuck category; the time argument is seconds (default 300)
ceph pg dump_stuck degraded 300
ceph pg dump_stuck undersized 300
ceph pg dump_stuck unclean 300
ceph pg dump_stuck inactive 60
ceph pg dump_stuck stale 60

# Surface unfound objects and capacity-driven health checks
ceph health detail

# Count recovery-blocked PGs by sub-state
ceph pg ls backfill_toofull
ceph pg ls recovery_toofull
ceph pg ls recovery_unfound
ceph pg ls backfill_unfound

# Recovery rate per pool
ceph osd pool stats

# Effective recovery throttle config across all OSDs
ceph config dump | grep -E 'osd_max_backfills|osd_recovery_max_active|osd_recovery_sleep|osd_op_queue|osd_mclock_override_recovery_settings'

If ceph osd dump | grep flags shows norecover or nobackfill, the rest of the procedure is moot until the flag is cleared. If those flags are not set and the recovery rate is still zero, walk through the remaining causes.

How to diagnose it

flowchart TD
    A[Degraded PGs flat, recovery rate zero] --> B{norecover or nobackfill set?}
    B -- yes --> F1[Administrative block]
    B -- no --> C{PG_BACKFILL_FULL or backfill_toofull PGs?}
    C -- yes --> F2[Target OSDs too full]
    C -- no --> D{Unfound objects reported?}
    D -- yes --> F3[Recovery blocked on missing data]
    D -- no --> E{Throttle effectively zero or mClock overriding?}
    E -- yes --> F4[Throttle or scheduler]
    E -- no --> G{Cluster network saturated?}
    G -- yes --> F5[Network bottleneck]
    G -- no --> H[Scheduler bug or query specific PG]
  1. Confirm the stall is real. Sample ceph -s and ceph pg stat at 30-second intervals for two or three samples. Degraded counts during active recovery should be monotonically decreasing. A flat count across three samples is a stall. Confirm ceph_pool_recovering_bytes_per_sec is also zero or near-zero.

  2. Check global OSD flags. Run ceph osd dump | grep flags. norecover or nobackfill halts recovery completely. These are set intentionally during maintenance or incident response and then forgotten; they are the single most common cause of zero-throughput stalls. noout does not stop recovery itself; it only prevents DOWN OSDs from being marked OUT. Recovery to replacement OSDs still proceeds normally.

  3. Check target OSD capacity. Run ceph osd df and look at the status or flag column for backfillfull or nearfull. The defaults are mon_osd_backfillfull_ratio 0.90 and mon_osd_full_ratio 0.95. When any OSD that CRUSH would choose as a recovery target is at or above backfillfull, PGs land in the backfill_toofull or recovery_toofull state and stay there. List them explicitly with ceph pg ls backfill_toofull. This is the failure mode described in Ceph backfill_toofull.

  4. Check for unfound objects. Run ceph health detail and search for unfound. Unfound objects are objects the cluster believes should exist but cannot locate on any surviving OSD; they block the entire PG from completing recovery. PGs in this state show up as recovery_unfound or backfill_unfound. To list specific objects, query the PG: ceph pg <pgid> query and inspect the recovery_state section for unfound object details, or run ceph pg <pgid> list_unfound to list them directly.

  5. Check the recovery throttle and scheduler. Run ceph config dump | grep osd_recovery and check osd_max_backfills (default 1), osd_recovery_max_active (default 0, which selects the per-device defaults: 3 for HDD, 10 for SSD), and osd_recovery_sleep. If osd_max_backfills is set to 0, recovery cannot start.

    On Quincy and later, the mClock scheduler is the default and ignores osd_max_backfills, osd_recovery_max_active, and osd_recovery_op_priority unless osd_mclock_override_recovery_settings = true. This is the most common operator gotcha on modern Ceph: legacy recovery tuning is set, expected to take effect, and produces no change in recovery rate. Check with ceph config get osd osd_op_queue; if the value is not wpq, mClock is active. Then check ceph config get osd osd_mclock_override_recovery_settings.

  6. Check for a software bug if everything else is clean. No flags, no full OSDs, no unfound objects, no throttle misconfiguration, no obvious network saturation, and recovery is still zero. Tentacle (v20.2.0, released 2025-11-18) fixed a recovery/backfill hang caused by improper handling of items in the dmclock background cleanup thread (tracker #61594). If you are on Squid or Reef and see this exact pattern, a scheduler bug is a real candidate; the fix was backported to Squid 19.2.3 (PR #62363) and Reef 18.2.8 (PR #62364).

  7. Query the specific stuck PG. For each PG identified in step 1, run ceph pg <pgid> query. The recovery_state section names the specific blocker: waiting for backfill reserve, waiting on unfound, peering blocked, and so on. This is the definitive answer when higher-level signals are ambiguous.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
ceph_pg_degraded (per pool)Count of PGs with degraded objectsFlat or increasing count sustained > 300s
ceph_pg_undersized (per pool)Count of PGs below configured sizeNon-zero sustained > 300s
ceph_pg_backfill_toofull, ceph_pg_recovery_toofullRecovery blocked by target capacityAny non-zero value
ceph_pg_recovery_unfound, ceph_pg_backfill_unfoundRecovery blocked by missing objectsAny non-zero value
ceph_pool_recovering_bytes_per_secActual recovery throughputZero while degraded > 0
ceph_num_objects_unfoundCluster-wide count of unfound objectsNon-zero sustained > 300s
ceph_osd_flag_norecover, ceph_osd_flag_nobackfillAdministrative halt on recoverySet while degraded PGs exist
ceph_health_detail{name="PG_BACKFILL_FULL"}OSDs above backfillfull ratioActive
ceph_health_detail{name="PG_RECOVERY_FULL"}OSDs above recovery thresholdActive

The essential correlation is ceph_pg_degraded > 0 AND sum(ceph_pool_recovering_bytes_per_sec) ~= 0. Each signal in isolation is ambiguous; together they are diagnostic.

Fixes

Forgotten norecover or nobackfill

Clear the flag:

# Confirm before clearing - was maintenance actually completed?
ceph osd dump | grep flags

# Clear both
ceph osd unset norecover
ceph osd unset nobackfill

Recovery should begin within seconds. Watch the recovery rate climb on ceph -s. If you intentionally set the flag during an incident and the original problem is not yet resolved, leave it set and document why; clearing it prematurely can trigger a recovery storm that lands you in Ceph blocked ops.

Target OSDs at backfillfull

This is a capacity problem. Recovery cannot proceed until target OSDs have space to receive data.

  • Add OSDs if you can. This is the only durable fix.
  • Reweight the fullest OSDs down to push data onto less-full peers: ceph osd reweight osd.<id> 0.9. Watch ceph osd df to confirm the reweight is producing movement.
  • Delete snapshots, RGW orphaned objects, or non-critical data to free space.
  • As a temporary unblock, raise the backfillfull ratio: ceph osd set-backfillfull-ratio 0.95. This is a calculated risk: it lets Ceph write recovery data closer to the full ratio, leaving less headroom for the next failure. Revert it after recovery completes.

The deeper problem is that the cluster was run too close to capacity. A cluster that cannot tolerate losing one OSD without hitting backfillfull is on the edge of the capacity death spiral described in Ceph capacity death spiral.

Unfound objects

Unfound objects mean the cluster cannot find any surviving copy. This is potential data loss. Do not resolve this casually.

  1. Identify the affected PGs: ceph health detail | grep unfound.

  2. For each PG, list unfound object details: ceph pg <pgid> list_unfound, or ceph pg <pgid> query and inspect the recovery_state section.

  3. Check whether any down OSD might still have the data. If an OSD is down rather than destroyed, bring it back up before declaring the objects lost. Many unfound conditions resolve when the missing OSD rejoins.

  4. If all replicas truly are gone, mark the objects lost:

    # Destructive - the action argument (revert or delete) is required
    ceph pg mark_unfound_lost <pgid> revert
    # or
    ceph pg mark_unfound_lost <pgid> delete
    

    revert rolls back to a previous version of the object if one exists. delete removes the object entirely. Both are data-loss operations. Document what you did and why.

Recovery throttled too low

If osd_max_backfills is 0 or osd_recovery_max_active is 0, recovery cannot proceed. Raise them:

ceph config set osd osd_max_backfills 1
ceph config set osd osd_recovery_max_active 3

ceph config set persists across restarts. For runtime application without restart, ceph tell 'osd.*' injectargs is available but deprecated on newer releases; prefer ceph config set.

mClock ignoring legacy recovery tuning (Quincy+)

If you have set osd_max_backfills or osd_recovery_max_active and seen no change, mClock is overriding them. Two options:

# Option A: let legacy tuning take effect under mClock
ceph config set osd osd_mclock_override_recovery_settings true

# Option B: switch back to the WPQ scheduler entirely
ceph config set osd osd_op_queue wpq

Option A is preferred if you want to keep mClock for client I/O prioritization. Option B is the closer match to pre-Quincy behavior. Either way, the change is not instantaneous; recovery scheduling picks it up on the next PG scan. This is the most common stalled-recovery cause on Quincy and later, and it is a configuration misunderstanding, not a fault.

Cluster network bottleneck

If recovery rate spikes briefly then stalls, and OSD commit latency rises across multiple OSDs, the cluster network is saturated. This is most common when public and cluster networks share a NIC or when a single link carries both client and recovery traffic.

  • Confirm with interface counters (ip -s link show, /proc/net/dev) on the cluster network interfaces.
  • Check TCP retransmits in /proc/net/snmp (TCPRetransSegs).
  • Throttle recovery to leave bandwidth for clients: lower osd_max_backfills to 1, set osd_recovery_sleep to a small value.
  • Long term, separate public and cluster networks onto different physical links.

Software bug

If the diagnostic procedure rules out every other cause and you are on Squid or Reef, consider upgrading to a release containing the dmclock recovery/backfill hang fix: Tentacle (20.2.x), Squid 19.2.3+, or Reef 18.2.8+. Before upgrading, confirm the bug pattern matches: no flags, no full OSDs, no unfound objects, throttle is non-zero, mClock override is set correctly, network is fine, and recovery is still zero. Upgrading a Ceph cluster is a non-trivial operation; do not undertake it on a hunch.

Prevention

  • Alert on the combination, not the parts. A degraded > 0 alert fires during every normal recovery. A recovery rate == 0 alert fires whenever nothing is recovering. The useful alert is degraded > 0 AND recovery_bytes_per_sec == 0 sustained > 600s. This catches the dangerous state without noise.
  • Track cluster flags as first-class signals. norecover, nobackfill, noout, noscrub, and nodeep-scrub should each alert when set for longer than a maintenance window.
  • Keep cluster utilization below 80% on the fullest OSD, not the average. Recovery needs spare capacity on the OSDs CRUSH actually selects as targets, which are not the average OSD.
  • Verify recovery configuration after upgrades. Upgrading to Quincy or later switches the scheduler to mClock, and pre-existing recovery tuning stops taking effect. After any major upgrade, confirm osd_op_queue and osd_mclock_override_recovery_settings match your intent.
  • Test recovery periodically. Take an OSD out (ceph osd out osd.<id>) on a non-critical pool during a planned window and confirm recovery progresses. This catches misconfiguration before a real failure does.

How Netdata helps

  • The Ceph collector surfaces per-second ceph_pg_degraded, ceph_pg_undersized, ceph_pg_backfill_toofull, and ceph_pg_recovery_unfound counts, so a flat degraded PG line is visible as a sustained plateau rather than a slow-drifting average.
  • ceph_pool_recovering_bytes_per_sec is collected per pool, making the degraded-and-not-healing correlation visible on a single chart rather than requiring two separate ceph commands.
  • Cluster flags (ceph_osd_flag_norecover, ceph_osd_flag_nobackfill, ceph_osd_flag_noout) appear as their own metrics, so a forgotten flag is a constant signal rather than something discovered by re-running ceph osd dump.
  • Health checks PG_BACKFILL_FULL, PG_RECOVERY_FULL, and unfound-object states are exposed via ceph_health_detail with the name label, allowing per-check anomaly detection rather than umbrella HEALTH_WARN noise.
  • Per-OSD utilization is tracked per OSD, so a single target OSD above the backfillfull ratio is visible against its peers rather than hidden by the cluster average.