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 / zookeeper / zookeeper-unrecoverable-error

Operations Guides

ZooKeeper unrecoverable error: when a node's integrity is compromised

You got paged because zk_unrecoverable_error_count incremented. This is one of the few mntr counters you never want to see move. It tracks errors ZooKeeper cannot recover from internally: data corruption, invariant violations, or resource exhaustion that puts the node into a state it cannot safely keep serving from.

ZooKeeper is designed to fail fast. When it hits an unrecoverable condition it does not limp along. The critical thread logs a severe error, notifies the supervision listener, and the process exits. By the time the counter increments, the JVM is usually already gone or about to be, and the question is no longer “is this node healthy” but “do I trust its on-disk state at all”.

This guide covers first-five-minute checks, correlated integrity metrics, and the decision between a clean restart and a full rebuild from a trusted snapshot.

What this means

zk_unrecoverable_error_count is exposed by mntr and counts critical internal failures since process start. Any increment pages because the integrity of the node’s data tree may be compromised: the server may have served incorrect data, written a partial transaction, or hit an internal invariant violation.

Three things are true the moment this counter increments:

  1. The ZooKeeper process is either dead or about to exit. Fail-fast is intentional, not a bug.
  2. The node’s on-disk snapshot and transaction log cannot be assumed trustworthy without verification.
  3. The blast radius depends on whether the rest of the ensemble still has quorum. If this was the leader or a quorum-critical follower, dependent services (Kafka controller, HBase master, Solr overseer) are about to react to leadership changes.

The triage question is whether this is an isolated node failure or a systemic integrity problem. Correlate with zk_digest_mismatches_count and zk_snapshot_error_count. Multiple error types incrementing together indicates a systemic problem, not a transient blip.

flowchart TD
  A["Disk full / IO error / perm denied"] --> B["SyncRequestProcessor catches Throwable"]
  B --> C["ZooKeeperCriticalThread.handleException"]
  C --> D["Increment zk_unrecoverable_error_count"]
  C --> E["Log severe unrecoverable error"]
  C --> F["listener.notifyStopping"]
  F --> G["Process exit"]
  G --> H["Ensemble shrinks"]
  H --> I{"Quorum lost?"}
  I -->|Yes| J["Writes unavailable ensemble-wide"]
  I -->|No| K["Followers re-elect a leader"]
  J --> L["Dependent services cascade"]
  K --> M["Single-node rebuild path"]

The recovery path forks at the bottom of that diagram. A quorum-losing event needs immediate ensemble triage; a single-node failure in a healthy ensemble follows the rebuild path described later in this guide.

Common causes

CauseWhat it looks likeFirst thing to check
Transaction log disk fullProcess exits mid-write; dataLogDir partition at 100%df -h on the txnlog partition
Disk I/O or hardware errorProcess exits with IOException in txnlog; kernel logs report medium errordmesg, iostat -x, smartctl -a
Permission denied on data directoryCommon in containerized deploys; fails at startup or snapshot rotationls -la on dataDir and dataLogDir
Digest mismatch during load or synczk_digest_mismatches_count increments alongsideCheck the same counter on every ensemble member
Snapshot write or load failurezk_snapshot_error_count increments before the crashInspect latest snapshot file size and integrity
32-bit JVM hitting file size limitProcess exits when a txnlog segment crosses ~2GBConfirm JVM architecture: java -version

The dominant production trigger is a full or failing dataLogDir. ZooKeeper fsyncs every write synchronously, so any condition that blocks or fails that fsync is a candidate.

Quick checks

Run these read-only. None modify state.

# Confirm the increment is real (run on the affected node)
echo mntr | nc localhost 2181 | grep -E 'zk_unrecoverable_error_count|zk_digest_mismatches_count|zk_snapshot_error_count|zk_restore_error_count'

# Is the process actually still alive?
echo ruok | nc localhost 2181
echo isro | nc localhost 2181
echo mntr | nc localhost 2181 | grep -E 'zk_server_state|zk_uptime'

# Disk space on both persistence partitions
df -h /var/zookeeper/txnlog /var/zookeeper/data

# Disk health and current IO pressure
iostat -x 1 5
dmesg -T | grep -iE 'error|medium|i/o' | tail -30

# Find the actual error in the ZK log
grep -iE 'unrecoverable|severe|IOException|denied|digest' /var/log/zookeeper/zookeeper.log | tail -50

# Compare integrity counters across the whole ensemble
for h in zk1 zk2 zk3; do
  echo "== $h =="
  echo mntr | nc "$h" 2181 | grep -E 'zk_unrecoverable_error_count|zk_digest_mismatches_count|zk_snapshot_error_count'
done

zk_restore_error_count is a real counter (metric restore_error_count) available since ZooKeeper 3.9.0 and surfaced by mntr; it does not exist on 3.5.x-3.8.x.

The ensemble-wide sweep matters. A single node incrementing only zk_unrecoverable_error_count is a different incident from three nodes all incrementing zk_digest_mismatches_count at the same zxid.

How to diagnose it

  1. Confirm the counter delta. Compare the current value against your last scrape. Absolute values are meaningless for alerting because they include historical events. Alert on increase(zk_unrecoverable_error_count) > 0.

  2. Verify process state. If ruok does not return imok, the JVM has already exited. Check zk_uptime against your last known value: a reset indicates a restart, consistent with fail-fast exit.

  3. Read the ZooKeeper log around the timestamp. Search for “Severe unrecoverable error” and the surrounding stack trace. The thread name tells you which subsystem hit the error. SyncRequestProcessor failures point at the txnlog disk; snapshot-related failures point at dataDir or memory pressure.

  4. Pull the correlated counters from every ensemble member. This is the single most important step. Three signals to correlate:

    • zk_digest_mismatches_count - data tree divergence from the expected checksum
    • zk_snapshot_error_count - errors during snapshot creation or load
    • zk_restore_error_count (3.9.0+) - errors during state restore

    If only the unrecoverable counter moved on one node, you have a localized failure. If digest mismatches moved on multiple nodes, you have an ensemble-wide integrity problem and the recovery path is different.

  5. Identify the trigger. Match the log entry to system state at that instant:

    • Disk full: df history or your disk-space metric will show the partition hit 100%.
    • I/O error: dmesg will show SCSI/ATA errors; SMART will show reallocated sectors.
    • Permission denied: recent container image change, user change, or volume mount option change.
    • Digest mismatch during follower sync: usually indicates the follower’s local state diverged, often after an unclean shutdown.
  6. Decide on the recovery path. Covered in the next section. The decision tree is: is the on-disk state trustworthy, and is the rest of the ensemble healthy?

Metrics and signals to monitor

SignalWhy it mattersWarning sign
zk_unrecoverable_error_countPrimary page signal. Any delta is catastrophic.Any increment, ever
zk_digest_mismatches_countConfirms or rules out data corruption. Moving on multiple nodes means systemic.Any increment
zk_snapshot_error_count (3.9.0+)Indicates the node cannot persist its state safely. Recovery after crash is at risk.Any increment; escalate to PAGE if unrecoverable also moves
zk_uptimeResets on process exit. Confirms the fail-fast exit happened.Sudden reset outside planned restart
zk_server_stateTells you whether the dead node was leader. A leader exit triggers election.Unplanned transition
zk_synced_followers (leader only)Tells you whether the surviving ensemble still has quorum headroom.Drops to floor(N/2)
Disk free on dataLogDirThe dominant root cause. Monitor as a leading indicator.Trend toward zero
zk_fsynctime p99Underlying write-path health. Sustained elevation precedes many crashes.Sustained p99 > 10ms

zk_fsynctime (summary fsynctime) is exposed by mntr from ZooKeeper 3.6.0 with the default metrics provider (as zk_avg_fsynctime, zk_p99_fsynctime, etc.); it does not exist on 3.5.x.

Fixes

Recovery depends on root cause and whether the on-disk state is trustworthy. Never restart a node and assume it is healthy without first verifying why it crashed.

Disk full on the transaction log partition

Clearing space is necessary but not sufficient. The process exited because fsync failed; it will not resume on its own once space is freed.

  1. Free space. Usually that means triggering autopurge manually or removing old snapshots outside the retain set. Be careful: deleting the wrong files corrupts recovery state.
  2. Restart the ZooKeeper process under your supervisor (systemd, supervisord, kubectl, etc.).
  3. Verify the node rejoins cleanly: zk_server_state should report follower (or leader after election), zk_uptime should be increasing, and zk_synced_followers on the leader should include this node.
  4. Configure autopurge.purgeInterval and autopurge.snapRetainCount if they are not set, so this does not recur.

See the dedicated guide on autopurge misconfiguration and on the txnlog disk full crash.

Disk I/O or hardware errors

If dmesg or SMART report failing storage, the on-disk state cannot be trusted even if the files look intact.

  1. Evacuate the node: remove it from the ensemble membership or stop the process.
  2. Replace or reformat the failing disk.
  3. Wipe dataDir and dataLogDir on the affected node and let it perform a full sync from the leader. Warning: this destroys the node’s local data tree; only do this when the rest of the ensemble has a trusted leader. For a large data tree this will be a SNAP sync; see the SNAP sync blast radius guide.
  4. Watch zk_follower_sync_time and confirm the node rejoins zk_synced_followers before returning it to service.

Permission denied on the data directory

Most common after a container image change, a UID rewrite, or a volume mount option change. The fix is operational, not data-related.

  1. Confirm the ZooKeeper process user owns dataDir and dataLogDir: ls -la /var/zookeeper/data /var/zookeeper/txnlog.
  2. Fix ownership: chown -R zookeeper:zookeeper /var/zookeeper/data /var/zookeeper/txnlog.
  3. Check the container spec or systemd unit for User=, fsGroup, or securityContext drift.
  4. Restart. Existing data is fine; the failure was on a new file write or snapshot rotation.

Digest mismatch or confirmed data corruption

This is the worst case. A digest mismatch means the in-memory tree diverged from the expected checksum, and clients may have been reading incorrect data.

  1. Check zk_digest_mismatches_count on every ensemble node.
  2. Single node only: remove the node from the ensemble, wipe its dataDir and dataLogDir, and let it rebuild from a healthy leader via SNAP sync. Warning: wiping is destructive; confirm you have a trusted leader before deleting local state. Do not trust its local snapshot.
  3. Multiple nodes: escalate immediately. You likely need to restore from an external backup taken before the divergence, or rebuild the ensemble from a known-good snapshot. Do not pick a “winner” among divergent nodes without understanding which copy is authoritative for your downstream services.
  4. After recovery, audit downstream consumers (Kafka, HBase, Solr) for state that may have been written based on stale or corrupt reads.

If snapshot.trust.empty is set to true on this node, revisit that decision. It allows recovery when snapshot files are missing but transaction logs exist, but misusing it during upgrades has caused znodes to vanish. It should be false in steady state.

File too large on a 32-bit JVM

If java -version reports a 32-bit JVM and the txnlog segment is approaching 2GB, migrate to a 64-bit JVM. This is a deploy-time fix, not a runtime one. Wipe the node’s data after the upgrade and let it resync.

Prevention

  • Monitor the integrity counters as a group. Alert on increase(zk_unrecoverable_error_count) > 0 and escalate severity when zk_digest_mismatches_count or zk_snapshot_error_count move in the same window.
  • Treat dataLogDir free space as a leading indicator. Disk full is the dominant root cause. Page on < 10% or < 2GB free, whichever comes first.
  • Keep dataLogDir on dedicated storage. Sharing the txnlog volume with snapshots or other workloads is the single most common cause of fsync stalls that escalate into unrecoverable errors. See the dataLogDir separation guide.
  • Configure autopurge. autopurge.purgeInterval and autopurge.snapRetainCount must be set explicitly; the default in some distributions is disabled.
  • Watch fsync latency trends. Sustained zk_fsynctime p99 growth predicts storage problems before they become crashes.
  • Keep snapshot.trust.empty=false in steady state. Only flip it during a controlled upgrade and revert immediately after.
  • Run a 64-bit JVM. The 2GB txnlog ceiling on 32-bit JVMs is an avoidable failure mode.
  • Test recovery. A node that cannot rejoin via SNAP sync in a reasonable time is a hidden incident. Large data trees make rebuilds slow.

How Netdata helps

  • Per-second scraping of the integrity counters. The increment shows up within a second, with no mntr parsing lag, and the delta is computed for you so historical absolute values do not generate repeat alerts.
  • Same-dashboard correlation of zk_unrecoverable_error_count, zk_digest_mismatches_count, and zk_snapshot_error_count. The systemic-versus-isolated call is visual instead of four separate terminal sessions.
  • Disk space, disk I/O, and filesystem metrics on the same host. The dominant root cause is visible alongside the symptom, with per-device breakdowns for dataLogDir versus dataDir when they are on separate volumes.
  • Leader-aware multi-node views. zk_server_state, zk_synced_followers, and zk_uptime across the ensemble make it immediately clear whether quorum was lost and which node needs the rebuild.
  • Cold-start suppression. Restart storms immediately after a fail-fast exit do not generate noise from non-critical metrics, while the integrity counters themselves still page.

Note: zk_jvm_pause_time_ms is exposed by mntr since ZooKeeper 3.6.2 (as zk_avg_jvm_pause_time_ms, zk_p99_jvm_pause_time_ms, etc.), so JVM-pause anomaly detection can run on mntr data for 3.6.2+; earlier versions require JMX.