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-split-brain-two-leaders

Operations Guides

ZooKeeper split-brain: two nodes both reporting leader

Your monitoring polls each ZooKeeper node independently and two of them return zk_server_state leader. Two servers in the same ensemble both believe they are the active leader. Treat this as an unconditional page: each side can accept writes that diverge from the other.

ZAB (ZooKeeper Atomic Broadcast) is designed to make sustained split-brain impossible. A leader only becomes durable after a quorum of followers (floor(N/2)+1) has acknowledged the NEW_LEADER proposal. In a clean partition, the minority side cannot reach quorum and must block writes. So when two nodes both report leader for more than a brief convergence window, something has broken the quorum accounting: an asymmetric partition, a disk-full recovery bug, an authentication bypass, or a stale-read protocol corner case.

Polling each node independently is exactly the right way to catch this. ZAB normally resolves a transient double-leader within seconds, but divergent state written during that window can persist. Any sustained occurrence is a data-divergence risk, and reconciliation must happen from the majority side.

What this means

In a healthy ensemble of N voting members, exactly one node reports zk_server_state leader at any time. The rest report follower (or observer for non-voting members). Quorum size is floor(N/2)+1: 2 for a 3-node ensemble, 3 for a 5-node, 4 for a 7-node.

A sustained double-leader means both sides believe they have quorum but are not communicating. In a clean partition this cannot persist: the smaller side cannot reach quorum and stays in LOOKING state or drops to read-only. The cases where it does persist are dangerous because both sides continue to accept writes against divergent state.

The common shape is transient: ZAB converges within seconds, but a monitoring poll catches the overlap. The dangerous shape is sustained, where a bug or misconfiguration lets two leaders coexist long enough for clients to write divergent transactions.

flowchart TD
  A[Two nodes report
zk_server_state leader] --> B{Persists over 60s?} B -->|No| C[Brief convergence
or rolling restart] B -->|Yes| D[Unconditional PAGE
data divergence risk] D --> E[Find majority side
by zxid and synced_followers] E --> F[Quarantine minority
rebuild from majority snapshot]

Common causes

CauseWhat it looks likeFirst thing to check
Asymmetric network partitionEach side elects independently; inter-node TCP dead but client ports aliveConnectivity on both quorum ports between every pair
Firewall blocks election port onlyEnsemble runs fine until the next election, then cannot re-elect cleanlyTCP reachability to the election port from each node to each peer
Transaction log disk full (ZOOKEEPER-3701)Node recovers with stale snapshot and missing transactions, diverges after rejoindf -h on dataLogDir
SASL quorum auth bypass (CVE-2023-44981, patched in 3.7.2, 3.8.3, 3.9.1)Unauthorized endpoint joins ensemble and modifies leader stateWhether quorum.auth.enableSasl=true is set
Monitoring artifact during convergenceTwo leaders reported for one or two polls, then resolvesPoll cadence vs election activity; zk_uptime
Stale-read protocol corner case (documented in the ZooKeeper Internals docs)TCP connection timeout smaller than syncLimit x tickTime; false leader serves stale readsTCP keepalive and retransmit settings; syncLimit and tickTime in zoo.cfg

Quick checks

Run these read-only. None mutate ensemble state.

# Poll every node for server state. Two leaders = split-brain.
for host in zk1 zk2 zk3 zk4 zk5; do
  echo -n "$host: "
  echo mntr | nc -w 2 $host 2181 | grep '^zk_server_state'
done

# Cross-check with stat. "Mode: leader" should appear exactly once.
for host in zk1 zk2 zk3 zk4 zk5; do
  echo -n "$host: "
  echo stat | nc -w 2 $host 2181 | grep '^Mode'
done

# Check read-only state. A real leader returns rw; a stale leader may return ro.
for host in zk1 zk2 zk3 zk4 zk5; do
  echo -n "$host: "
  echo isro | nc -w 2 $host 2181
done

# Compare zxids across all nodes. Diverged zxids on the two "leaders" confirms split-brain.
# mntr does not expose zxid; use srvr/stat instead
for host in zk1 zk2 zk3 zk4 zk5; do
  echo -n "$host: "
  echo srvr | nc -w 2 $host 2181 | grep '^Zxid'
done

# On each candidate leader, how many followers are synced? Real leader has quorum.
echo mntr | nc zk_candidate 2181 | grep -E 'zk_followers|zk_synced_followers|zk_pending_syncs'

# Confirm mntr is actually allowed. 3.5.3+ blocks it unless whitelisted.
echo mntr | nc zk1 2181 | head -3
# "mntr is not executed because it is not in the whitelist" means the check is broken, not the cluster.

# Check disk space on the transaction log volume of every node.
# Path comes from dataLogDir (or dataDir if dataLogDir is unset) in zoo.cfg.
ssh zk1 'df -h /var/lib/zookeeper/txnlog'

# Check uptime to rule out cold-start noise. Suppress alerts if under 600s.
# <!-- TODO: verify zk_uptime is available via mntr in the ZK versions in use; added in 3.6.0 -->
for host in zk1 zk2 zk3 zk4 zk5; do
  echo -n "$host uptime: "
  echo mntr | nc -w 2 $host 2181 | grep '^zk_uptime'
done

# Check election-time connectivity. Both quorum ports must work.
# Port values come from the server.N lines in zoo.cfg (host:quorum_port:election_port).
nc -zv zk_peer QUORUM_PORT
nc -zv zk_peer ELECTION_PORT

If mntr returns nothing, your 4lw.commands.whitelist does not include mntr. The check is silently broken, not the cluster. Whitelist at least mntr, stat, isro, and ruok before continuing.

How to diagnose it

  1. Confirm the split-brain is real, not a polling artifact. Poll every node three times, two seconds apart. If two nodes consistently return zk_server_state leader across all three polls, the condition is sustained. A single-poll overlap that resolves on the next poll is convergence noise.

  2. Determine which side has actual quorum. On each candidate leader, read zk_followers and zk_synced_followers. The real leader has at least floor(N/2) synced followers. The minority “leader” either has fewer followers or none, because the other side is not talking to it.

  3. Compare zxids across all nodes. The majority side should have the higher zxid (more recent epoch and counter). A lower zxid on a node claiming to be leader means it is operating on stale state. Epoch (upper 32 bits of zxid) takes priority over counter: a higher epoch with a lower counter still wins.

  4. Look for the trigger. Check election activity on every node for recent election storms (zk_looking_count, in mntr since 3.6.0). Cross-reference with host-level signals: network partitions (inter-node ping, security group changes), disk-full events on dataLogDir, GC pause spikes (zk_p99_jvm_pause_time_ms is a ZooKeeper mntr metric on 3.7+, populated while jvm.pause.monitor=true), and any recent deployment or scaling event that added nodes quickly.

  5. Check for data divergence. zk_digest_mismatches_count and zk_unrecoverable_error_count are both in mntr output (3.6+). On every node, read these counters. Any non-zero delta is a data integrity violation and confirms the divergence is not just role confusion but actual state corruption.

  6. Identify divergent writes. Compare the children and data of critical znodes (Kafka broker registrations, HBase region assignments, distributed locks) between the two sides. Application logs of dependent services usually surface which side accepted writes that the other did not.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
zk_server_state (all nodes)Direct split-brain detectionTwo nodes report leader simultaneously
zk_followers, zk_synced_followers (leader-only)Confirms which side has real quorumA “leader” with fewer than floor(N/2) synced followers
zxid (all nodes)Reveals divergent state and stale leadersTwo leaders with different zxids; minority leader with lower epoch
Election count (zk_looking_count, 3.6+)Election frequencyMultiple increments outside maintenance windows
Digest mismatch count (zk_digest_mismatches_count)Data integrity violationAny non-zero delta
Unrecoverable error count (zk_unrecoverable_error_count)Critical internal failureAny non-zero delta
isro outputFunctional vs read-onlyReturns ro on a node that should be read-write
zk_uptimeCold-start suppressionReset indicates recent restart; suppress alerts for first 600s
Auth failure count (zk_auth_failed_count)Inter-server auth failuresNon-zero delta; may indicate CVE-2023-44981 if SASL quorum auth is enabled

Fixes

If it is a monitoring artifact

If the double-leader clears within one or two poll intervals and election activity only spikes once, ZAB converged normally. This is common during rolling restarts and brief network blips. Suppress the alert during planned maintenance and tighten the polling window so you only page on sustained conditions (more than 60 seconds).

Asymmetric partition or firewall

Restore connectivity on both quorum ports. ZooKeeper uses two inter-server ports: one for follower-to-leader communication and one for leader election. A firewall that blocks only the election port is invisible until the next election, then catastrophic. Once connectivity is restored, ZAB re-converges: the side with quorum retains leadership, the minority side drops to follower. Verify by re-polling zk_server_state across all nodes and confirming zk_synced_followers returns to N-1.

Disk-full recovery (ZOOKEEPER-3701)

When a node fills its transaction log disk and recovers with a stale snapshot, it can diverge from the ensemble after rejoining. The fix is to rebuild the affected node from the majority side.

WARNING: Destructive. The following deletes all local ZooKeeper state on the target node. Back up the data directory first if you need it for forensics.

# Stop ZooKeeper on the divergent node.
systemctl stop zookeeper  # or equivalent for your deployment

# Back up for forensics if needed.
cp -a /var/lib/zookeeper/version-2 /tmp/zk-forensics-$(date +%s)

# Delete the contents of version-2 (log.* and snapshot.* files).
# Path comes from dataDir and dataLogDir in zoo.cfg.
rm -rf /var/lib/zookeeper/version-2/*

# Restart. The node performs a full SNAP sync from the leader.
systemctl start zookeeper

Stale-read protocol corner case (documented in ZooKeeper’s Internals docs)

The ZooKeeper documentation notes that “two servers simultaneously think they are the leader” can occur if the TCP connection timeout is smaller than syncLimit x tickTime. In this state, a sync followed by a read can return stale data from the false leader. Mitigation: tune TCP keepalive and retransmit timeouts so dead connections are detected within the sync window, and keep syncLimit x tickTime comfortably above the expected network failure detection time.

SASL quorum auth bypass (CVE-2023-44981, patched in 3.7.2, 3.8.3, and 3.9.1)

If you run with quorum.auth.enableSasl=true and an endpoint whose SASL authentication ID lacks a fully qualified domain name has joined the ensemble, the authorization check can be bypassed and the leader can be modified. Patch to a fixed version. Rotate quorum credentials, audit ensemble membership, and rebuild any node that may have accepted unauthorized proposals.

Reconciling divergent state

When divergence is confirmed, the only safe path is to pick the majority side as the source of truth and rebuild the minority side from it.

WARNING: Data loss. Any writes accepted by the minority side are lost. Notify dependent service owners (Kafka, HBase, Solr) before bringing reconciled nodes back, because ephemeral nodes and watch notifications will fire as clients reconnect.

Stop the minority nodes, wipe their data directories (same procedure as disk-full recovery above), and let them SNAP sync from the majority leader. Replay lost writes manually if they are recoverable from application logs.

Prevention

  • Poll every node independently for zk_server_state. Aggregated “is there a leader” checks hide split-brain. The check that catches it is the one that compares per-node state.
  • Alert on more than one leader unconditionally. No baseline, no rate, no smoothing. The condition is binary.
  • Gate the alert on uptime over 600s. Cold-start elections produce transient double-leaders during cluster-wide restarts.
  • Monitor both quorum ports. Reachability on the follower-to-leader port does not imply reachability on the election port.
  • Treat dataLogDir disk space as a page, not a ticket. Disk-full on the transaction log volume is the root cause of the disk-full recovery split-brain pattern.
  • Keep ZooKeeper patched. CVE-2023-44981 and the disk-full recovery fix are both reasons to be on a current 3.8.x or 3.9.x line.
  • Test failover and partition recovery. Controlled chaos exercises that split the ensemble are the only way to validate that monitoring catches the condition and that the reconciliation procedure works.
  • Whitelist mntr, stat, isro, and ruok in 4lw.commands.whitelist. A silently blocked mntr returns empty output that monitoring systems often interpret as “all zeros,” masking the real state.

Correlating with Netdata

  • Per-second polling of zk_server_state on every node, with per-node dashboards, makes a transient double-leader visible even when ZAB converges in seconds. A 15-second poller will miss most real split-brain windows.
  • Correlating zk_server_state with zxid, zk_followers, and zk_synced_followers on a single timeline shows which side has quorum and which is stale, without switching between tools.
  • Host-level signals alongside ZooKeeper metrics let you confirm root cause in one view: network throughput and TCP retransmits on inter-node links, disk latency and space on dataLogDir, JVM pause time, and file descriptor pressure.
  • Cold-start suppression via zk_uptime gating prevents false pages during rolling restarts while still paging on the real condition.