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-osd-heartbeat-timeout

Operations Guides

Ceph OSD heartbeat timeouts: the osd_heartbeat_grace precursor to flapping

Ceph OSDs declare each other down based on a simple rule: if a peer does not respond to heartbeat pings within osd_heartbeat_grace (default 20 seconds), it is reported to the monitors as unresponsive. Two peers from different failure domains must agree before the monitor marks the OSD down. This is the mechanism that turns a transient stall into an OSD state change, and repeated near-misses against this 20-second window are the most reliable leading indicator of OSD flapping.

The problem for operators is that the precursor signal, heartbeat ping latency, is not exposed by the Prometheus MGR module. By the time you see an OSD transition to down in your metrics, the grace period has already been exceeded and the cluster is already paying the cost. You have to infer rising heartbeat latency from indirect signals: OSD apply and commit latency, cluster-network congestion, OSD host CPU and memory pressure, and the OSD_SLOW_PING_TIME health checks.

This article covers how the heartbeat timeout mechanism works, why the effective grace period is often longer than 20 seconds, where the failure pattern shows up in production, and which correlated signals reveal the precursor before flapping begins.

What it is and why it matters

Two parameters govern the peer-to-peer heartbeat that determines whether an OSD is considered alive:

  • osd_heartbeat_interval (default 6 seconds): OSDs ping their peers at random intervals less than this value. The randomization prevents synchronized ping storms.
  • osd_heartbeat_grace (default 20 seconds): if a peer does not respond within this window, the OSD reports it as down to the monitors.

The monitor does not act on a single report. mon_osd_min_down_reporters (default 2) requires two reporting OSDs, and mon_osd_reporter_subtree_level (default host) requires them to come from different failure domains. This prevents a single noisy peer from marking a healthy OSD down. Once the threshold is met, the monitor marks the OSD down and issues a new OSD map epoch.

What matters here is the window between “heartbeat latency is rising” and “heartbeat latency has exceeded grace.” That window is your detection opportunity. Once grace is exceeded, the OSD is down, PGs re-peer, and if the cause is transient, the OSD comes back up only to flap again.

Do not confuse this with the suicide timeout

Ceph has a separate internal mechanism enforced by the heartbeat_map. If an OSD’s internal operation thread pool (the osd_op_tp thread) stops responding, the OSD kills itself. This appears in OSD logs as is_healthy 'OSD::osd_op_tp thread …' had timed out after 15 for the first timeout (osd_op_thread_timeout, default 15s), and as had suicide timed out after 150 when osd_op_thread_suicide_timeout (default 150s) is exceeded, which aborts the OSD. The 150s figure in Red Hat references is the suicide timeout.

This is not the same as osd_heartbeat_grace. The suicide timeout means the OSD’s own internal threads are stalled, typically due to slow disk I/O, RocksDB compaction, or OMAP bloat. The OSD crashes itself rather than serving stale state. Peer heartbeat timeouts, by contrast, mean the OSD may still be processing internally but is too slow to respond to inter-OSD pings within the grace window. The log messages look similar but point to different layers of the stack.

Do not confuse this with mon_osd_report_timeout

mon_osd_report_timeout (default 900 seconds) is the monitor-level backstop: if an OSD has not reported to the monitor directly within this window, the monitor marks it down independently of peer reports. In practice, peer heartbeat timeouts (20 seconds) fire long before report timeouts become relevant. The report timeout exists to catch OSDs that maintain a monitor connection but have lost all peer connectivity.

How it works

flowchart TD
    A["Host, disk, or network
pressure stalls OSD"] --> B["Heartbeat ping
latency rises"] B --> C["Ping exceeds 1s:
OSD_SLOW_PING_TIME warning"] B --> D{"Ping exceeds
osd_heartbeat_grace
default 20s?"} D -- Yes --> E["Peers report OSD down
2 reporters from different subtrees"] E --> F["MON marks OSD down
OSD map epoch bumps"] F --> G["PGs re-peer
recovery traffic starts"] G --> H["Stall clears
OSD returns to up"] H --> B

The cascade starts with anything that delays the OSD’s ability to respond to heartbeat pings. The ping is a lightweight message, but it competes for the same OSD resources as client I/O, recovery, scrub, and RocksDB compaction. When the op queue stalls, heartbeat responses stall with it.

The effective grace period is often not 20 seconds

mon_osd_adjust_heartbeat_grace defaults to true. When enabled, the monitor dynamically extends the grace period for individual OSDs based on laggy estimates derived from recent heartbeat behavior. The relevant tuning parameters are mon_osd_laggy_halflife, mon_osd_laggy_weight, and mon_osd_laggy_max_interval (default 5 minutes).

This feature was introduced to reduce false positives during brief network blips. In practice, it can mask genuine problems. In a reported Octopus-era rack failure test, the dynamic grace period ballooned far beyond the 20-second base (the laggy estimate is bounded by mon_osd_laggy_max_interval, default 5 minutes), so OSDs that should have been marked down within seconds took far longer to register as down. Setting mon_osd_adjust_heartbeat_grace to false resolved it immediately. The options behind this extension are unchanged in Reef and Squid.

The implication for detection: if your cluster has this feature enabled (the default), the effective grace period for a laggy OSD may be much longer than 20 seconds. The OSD_SLOW_PING warning and peer reports may arrive later than you expect. If you are investigating a slow-to-detect-down scenario, check this setting first.

The OSD_SLOW_PING health checks

Ceph exposes two health checks that fire before the grace period is exceeded:

  • OSD_SLOW_PING_TIME_FRONT: heartbeat ping times on the front (public) interface exceed the configured threshold.
  • OSD_SLOW_PING_TIME_BACK: heartbeat ping times on the back (cluster) interface exceed the configured threshold.

The threshold is ratio-based: the MON warns when ping time exceeds mon_warn_on_slow_ping_ratio (default 0.05) of osd_heartbeat_grace, i.e. 1s with default settings (mon_warn_on_slow_ping_time is 0 by default; setting it overrides the ratio).

These are precursor warnings. A 1-second heartbeat ping is nowhere near the 20-second grace threshold, but it indicates that network or OSD responsiveness is degrading. The health message reports the longest ping time seen but does not identify which OSDs are involved. To find the specific OSDs, use ceph health detail or the dump_osd_network admin socket command.

The dump_osd_network command (sent to an individual OSD via its admin socket) exposes per-pair heartbeat ping latency with 1-minute, 5-minute, and 15-minute averages, plus min, max, and last values. It is the only source of structured per-pair heartbeat latency data. This data is not exported by the Prometheus MGR module, which means automated alerting on heartbeat latency requires custom tooling or log-based checks.

Where it shows up in production

Overloaded OSD host

When a host is CPU-saturated, memory-pressured, or running competing workloads, all OSDs on that host struggle to respond to heartbeats promptly. This is common on hosts with many OSDs sharing limited RAM. As BlueStore cache pressure increases and the kernel begins reclaiming memory, OSD threads stall, and heartbeat responses queue behind stalled operations. If the delay exceeds grace, peers report the OSDs down. Because the host-level problem affects all OSDs on the host, multiple OSDs may flap simultaneously.

Recovery traffic on a shared NIC

Recovery and backfill traffic competes with heartbeat pings on the cluster network. If the cluster network is not separated from the public network, or if a single NIC handles all traffic, recovery bursts can saturate the link. During heavy recovery, heartbeat pings queue behind replication and backfill packets. On a 300-OSD NVMe cluster running FIO warm-up writes, operators observed heartbeat ping times of 1202ms (back interface) and 1535ms (front interface), triggering OSD_SLOW_PING_TIME warnings and collapsing throughput.

If the cluster uses separate public and cluster networks, a degradation or failure of the cluster network while the public network stays healthy creates a specific flapping pattern: OSDs report each other down via the public network, then immediately mark themselves back up when the public network heartbeat succeeds. This rapid cycle is classic flapping driven by asymmetric network failure.

Dying disk stalling the op queue

A disk with intermittent I/O errors, growing bad sectors, or firmware issues stalls the OSD’s op queue intermittently. The OSD may serve most requests normally but occasionally hang for several seconds during a specific sector read or a garbage-collection event in the firmware. These hangs delay heartbeat processing. If the hang is long enough to exceed grace, peers report the OSD down. When the hang clears, the OSD comes back up, and the cycle repeats.

This pattern is insidious because the disk may pass SMART checks between stalls, and the OSD’s average latency metrics may look normal between events. The signal is in the tail latency and the slow ops count, not the averages.

BlueStore DB spillover and RocksDB compaction stalls

When the BlueStore DB partition (RocksDB metadata) fills and spills to the slow data partition, RocksDB operations slow by one to two orders of magnitude. Compaction events that previously completed in milliseconds on SSD take seconds on HDD. During compaction, the OSD’s internal threads stall, and heartbeat responses are delayed. This creates periodic latency spikes that correlate with compaction activity. The bluefs slow_used_bytes counter in ceph daemon osd.<id> perf dump confirms whether spillover has occurred. Any non-zero value means the performance cliff has been reached.

cephadm upgrades and full sync

During orchestrated upgrades, a monitor performing a full sync on HDD-backed storage can saturate the host’s filesystem, causing all OSDs on that host to experience internal heartbeat_map timeouts. The OSDs reboot repeatedly while the orchestrator continues the upgrade without pausing. This is not a peer-heartbeat-grace failure in the strict sense, but it produces the same observable symptom: OSDs cycling up and down while the host is under I/O pressure. If you see flapping during a cephadm upgrade, check whether a monitor full sync is saturating a shared host.

The observability gap

The single most important thing to understand about this failure pattern is that the primary precursor signal is not in your standard metrics pipeline.

The Prometheus MGR module does not export per-OSD heartbeat latency. The ceph_osd_up metric tells you when an OSD has already been marked down, which is the outcome, not the precursor. There is no native OSD_FLAPPING health check; the pattern is established by watching OSD up/down churn (ceph osd stat) and OSD map epoch rate. Neither gives you the leading indicator.

To detect rising heartbeat latency before it becomes a flap, correlate indirect signals:

SignalSourceWhat it tells you
OSD apply and commit latencyceph_osd_apply_latency_ms, ceph_osd_commit_latency_msSustained increase on a specific OSD means the op queue is backing up; heartbeat responses queue behind it
Slow ops countceph_healthcheck_slow_opsOperations stuck beyond osd_op_complaint_time (default 30s); slow ops almost always precede heartbeat timeouts on the same OSD
Cluster network bandwidthHost-level per-interface metricsSaturation means heartbeat pings are competing for bandwidth with recovery and replication
OSD host CPU and memoryHost-level metricsCPU saturation or memory pressure affects all OSDs on the host; check dmesg for OOM-kill events
BlueStore DB spilloverceph daemon osd.<id> perf dump under bluefsNon-zero slow_used_bytes means compaction will cause periodic stalls
SMART attributessmartctl or Ceph devicehealthGrowing reallocated or pending sectors indicate a disk that will stall intermittently
OSD logs/var/log/ceph/ceph-osd.*.logslow request lines and heartbeat_map timeout messages point to the specific OSD and stall location
dump_osd_networkAdmin socket on mgr or OSDDefinitive per-pair heartbeat ping latency (1m/5m/15m averages, min/max/last); the only structured source

The correlation that matters most: a single OSD showing rising apply latency, a non-zero slow ops count, and an OSD_SLOW_PING_TIME warning at the same time is an OSD approaching heartbeat grace. If recovery or backfill is also active on the cluster network, the window before the OSD is reported down may be short.

How Netdata helps

Netdata’s per-second collection surfaces several correlated signals that help identify rising heartbeat latency before grace is exceeded:

  • Per-OSD apply and commit latency (ceph_osd_apply_latency_ms, ceph_osd_commit_latency_ms) collected every second, with anomaly detection that flags individual OSDs deviating from their own baseline rather than relying on cluster averages that hide outliers.
  • Slow ops count (ceph_healthcheck_slow_ops) tracked alongside OSD latency, so you can see the moment an OSD transitions from slow to stuck and correlate it with per-OSD latency spikes on the same timeline.
  • Health detail signals including OSD_SLOW_PING_TIME_FRONT, OSD_SLOW_PING_TIME_BACK, and OSD_FLAPPING from ceph_health_detail, surfaced as individual time series rather than buried in a text status string.
  • Host-level CPU, memory, disk I/O, and network metrics on every OSD host at per-second resolution, so OSD-level latency spikes can be correlated with host-level saturation in the same dashboard view.
  • Cluster network bandwidth per interface, to distinguish client-driven from recovery-driven congestion and see when heartbeat pings are likely queuing behind bulk transfers.
  • Cross-signal anomaly correlation across per-OSD latency, host load, and network utilization, so a heartbeat-precursor pattern (rising latency on one OSD during a recovery burst) appears as a correlated anomaly cluster rather than isolated noisy metrics.