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 / consul / consul-dns-servfail ▌

Operations Guides

Consul DNS SERVFAIL: service discovery is broken for your applications

SERVFAIL from Consul’s DNS interface on port 8600 means service discovery is broken for every application resolving names through it. Applications see connection refused, timeouts, and cascading failovers. The symptom is broad, but the root cause lives along one of four layers: the downstream resolver (if present), the Consul agent’s built-in DNS server, the agent-to-server RPC channel, or the server’s catalog state.

NXDOMAIN is a related but distinct signal. SERVFAIL means the resolver could not complete the query: server overload, timeout, unreachable upstream, or internal error. NXDOMAIN means the query completed but the name does not exist in the catalog. Both break discovery, but they point to different layers. Conflating them during an incident wastes time.

The diagnostic path matters because Consul DNS is frequently chained behind dnsmasq, systemd-resolved, or corporate DNS forwarders. These layers cache both successes and failures. A SERVFAIL that lasts 30 seconds at the Consul agent can persist for minutes at the downstream resolver, which may keep serving the cached failure long after Consul itself has recovered.

What this means

Consul’s DNS server listens on UDP and TCP port 8600 by default and answers queries for the consul. domain. Each query for <service>.service.consul triggers an internal catalog lookup that flows from the agent to a server over RPC, then into the replicated state store. If any link fails or is too slow, the agent returns SERVFAIL or serves a stale cached result.

The four failure layers and their symptoms:

  1. Downstream resolver (dnsmasq, systemd-resolved, corporate DNS): caches responses, including failures. Amplifies a brief Consul blip into a sustained outage.
  2. Consul agent DNS server: serves queries from local cache or forwards to servers. If it cannot reach any server, returns SERVFAIL or serves stale data depending on configuration.
  3. Agent-to-server RPC: the channel for catalog lookups. If blocked, timed out, or rate-limited, DNS queries fail at the agent.
  4. Server catalog and state store: the authoritative source. If the catalog is inconsistent, ACLs deny the query, or the scan is too slow due to cardinality, the server returns empty results or times out.
flowchart TD
    App[Application query] --> Resolver[Downstream resolver
dnsmasq / systemd-resolved] Resolver --> Agent[Consul agent DNS :8600] Agent --> Server[Consul server RPC] Server --> Catalog[Catalog / state store] Agent -.->|server unreachable| ServfailA[SERVFAIL or stale] Server -.->|overloaded or slow| ServfailB[SERVFAIL or timeout] Catalog -.->|empty result or ACL deny| Nxdomain[NXDOMAIN] Resolver -.->|caches SERVFAIL| CachedFail[persistent failure]

The key first distinction: if dig directly against 127.0.0.1 -p 8600 succeeds but the application still fails, the problem is in the downstream resolver or its caching layer, not in Consul itself.

Common causes

CauseWhat it looks likeFirst thing to check
Agent cannot reach any serverSERVFAIL or stale results from direct dig queries; consul.dns.stale_queries counter risingconsul info on the agent; check consul.client.rpc.failed
Server cluster overloadedHigh DNS latency across all services; consul.raft.commitTime elevated; RPC p99 climbingCheck leader health and disk I/O latency on servers
Catalog inconsistencyNXDOMAIN for a service registered locally on the agent; anti-entropy sync failingCompare consul catalog services output with local agent registrations
Large service cardinalityDNS latency proportional to service instance count; slow catalog scan timeoutsCheck total service and check counts in the catalog
ACL denialNXDOMAIN for .service.consul queries when ACLs are enabled; works with management tokenCheck agent token permissions and ACL resolution latency
Prepared query complexityLatency spikes on prepared query lookups; rate-limit interactionsTest the prepared query directly via HTTP API
Downstream resolver caching failuresApplication fails but direct dig to :8600 works; SERVFAIL persists after Consul recoversFlush resolver caches; check resolver TTL config
Recursor failureSERVFAIL on queries that trigger recursion; recursor unreachable or returning SERVFAILCheck recursor_timeout config and recursor reachability

Quick checks

Run these on the node where the application is failing. All are read-only and safe.

# Direct DNS query to the Consul agent, bypassing downstream resolvers
dig @127.0.0.1 -p 8600 myservice.service.consul SRV +stats +time=2 +tries=1

# Check if the agent knows about any servers
consul info | grep -A5 "known_servers"

# Verify leader exists and is reachable
curl -s http://127.0.0.1:8500/v1/status/leader

# Check DNS-specific telemetry counters
curl -s http://127.0.0.1:8500/v1/agent/metrics | grep -E "dns\.|stale_queries"

# Check if the service exists in the catalog at all
curl -s "http://127.0.0.1:8500/v1/catalog/service/myservice" | jq length

# Check healthy instances specifically
curl -s "http://127.0.0.1:8500/v1/health/service/myservice?passing=true" | jq length

# Verify agent-to-server RPC health
curl -s http://127.0.0.1:8500/v1/agent/metrics | grep "client.rpc"

# If using dnsmasq, check if it is forwarding correctly
dig @127.0.0.1 -p 53 myservice.service.consul SRV +time=2

# If using systemd-resolved, check its cache and forwarding
resolvectl statistics
resolvectl query myservice.service.consul

If the direct query to port 8600 succeeds but the downstream resolver query fails, the problem is in the caching or forwarding layer. If the direct query fails, the problem is in Consul.

How to diagnose it

  1. Bypass downstream resolvers first. Always start with dig @127.0.0.1 -p 8600. This isolates Consul from dnsmasq, systemd-resolved, and corporate DNS infrastructure. If this works, skip to step 7.

  2. Check the response code. SERVFAIL (rcode 2) means the query could not complete. NXDOMAIN (rcode 3) means the name does not exist. The status: line in dig output shows the rcode.

  3. Verify server reachability from the agent. Run consul info and check known_servers. If it shows zero or the agent cannot reach the leader, the agent returns SERVFAIL or serves stale results. Check consul.client.rpc.failed for sustained non-zero rates.

  4. Check leader existence and Raft health. Query curl http://127.0.0.1:8500/v1/status/leader. An empty string means no leader, which means no catalog lookups can complete. Check consul.raft.commitTime for sustained elevation above 100ms.

  5. Verify the service exists in the catalog. Query curl http://127.0.0.1:8500/v1/catalog/service/<name>. If the catalog returns empty but the service is registered locally on the agent, anti-entropy sync is failing. Check the agent log for anti_entropy errors; current Consul telemetry has no dedicated anti-entropy failure-rate metric.

  6. Check ACL resolution if ACLs are enabled. DNS queries for <service>.service.consul require the agent’s token to have service:read permission on the target service. A token without permission produces NXDOMAIN, not an explicit denial. Test with a management token to confirm.

  7. If direct Consul DNS works, test the downstream resolver. Query through dnsmasq or systemd-resolved. If it returns SERVFAIL while direct Consul DNS works, the resolver is caching a stale failure or has a forwarding misconfiguration.

  8. Check for recursor loops. If Consul has recursors configured that point back to a resolver that forwards to Consul, a DS consul. query can loop. dnsmasq’s concurrent query limit fills up, causing SERVFAIL for all requests. The documented --dns-forward-max default is 150.

  9. Check consul.dns.stale_queries. This counter tracks queries served stale by more than 5 seconds. A rising value means the agent is serving cached results because it cannot reach servers fast enough.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
consul.dns.domain_query latency, or consul.dns.query with a query-type label on the v2 DNS metricDirect measure of DNS response time from the agentp99 above 100ms for fresh lookups, or trending upward
consul.dns.stale_queries counterTracks queries served from stale cache because servers were unreachableAny sustained non-zero rate
consul.raft.commitTimeWrite pipeline health; DNS queries for consistent reads depend on RaftSustained above 100ms; approaching heartbeat timeout risks leader loss
consul.client.rpc.failedAgent-to-server connectivity; failed RPC means DNS cannot reach the catalogAny sustained non-zero rate on client agents
consul.rpc.consistentRead latencyServer-side time spent confirming a consistent read; high latency slows consistent DNS lookupsp99 above 1s
Total service and check counts from the Catalog APICatalog cardinality; large catalogs slow DNS scansGrowth without corresponding service growth
consul.acl.ResolveToken latencyACL overhead per DNS query when ACLs are enabledAbove 10ms sustained
Disk I/O await on server Raft volumeLeading indicator for Raft commit time degradationSustained above 10ms

Fixes

Agent cannot reach any server

The most common cause of persistent SERVFAIL. The agent is alive and serving DNS, but has no server to query.

  • Verify network connectivity on port 8300 (RPC) between the agent and servers. A firewall change that blocks 8300 while leaving 8301 (gossip) open produces exactly this symptom: the agent appears healthy in gossip but cannot push or pull catalog state.
  • Check server file descriptor usage. If servers are at their FD limit, they reject new RPC connections. The fix is raising the ulimit, not restarting Consul.
  • If allow_stale is true (the default since Consul 0.7), the agent serves cached results instead of SERVFAIL when servers are unreachable. This masks the failure temporarily but produces increasingly stale data. Whether that is acceptable depends on how stale is tolerable for your consumers.

Server cluster overloaded

DNS queries require catalog lookups on servers. If the server cluster is saturated, DNS latency spikes and eventually times out.

  • Check consul.raft.commitTime and disk I/O latency. Slow disks are the most common cause of Raft degradation.
  • Check consul.runtime.num_goroutines and file descriptor usage for resource exhaustion.
  • If the overload is from catalog churn (health check flapping, registration storms), the DNS symptom is secondary. Address the churn source first. See Consul registration storm.

Catalog inconsistency producing NXDOMAIN

The service is registered locally on the agent but not visible in the catalog. Anti-entropy sync is failing.

  • Check the agent log for sustained anti_entropy errors and compare the agent’s registrations with the catalog.
  • Verify the agent can reach servers on port 8300.
  • If necessary, force a sync by restarting the agent. This is disruptive: the agent re-registers all services, causing a brief registration burst that adds load to the server cluster.

ACL denial producing NXDOMAIN

When ACLs are enabled, DNS queries require the agent’s token to have service:read permission on the target service. A token without permission returns NXDOMAIN, not an explicit error.

  • Verify the agent token has a matching service_prefix or service ACL rule granting read permission. query_prefix governs prepared-query management, not ordinary service DNS lookup execution; even prepared-query execution still requires service read access (or uses the token captured when the query was created).
  • Check ACL token resolution latency. High latency on every DNS query indicates ACL cache misses or an undersized token cache.

Downstream resolver caching SERVFAIL

systemd-resolved caches SERVFAIL responses for long periods. dnsmasq can enter a forwarding loop with Consul recursors.

  • Flush caches: resolvectl flush-caches for systemd-resolved; restart dnsmasq if it is stuck in a loop.
  • Current systemd resolved.conf documents address:port for DNS=; systemd issue #17858 records v245 rejecting this syntax. On older installations, verify the local behavior before relying on the port form.
  • Consider setting use_cache and appropriate TTLs on the Consul agent to control caching behavior at the source.

Recursor SERVFAIL

If Consul has recursors configured, Consul 1.2.3 fixed the recursor path so a SERVFAIL or REFUSED response advances to the next recursor; releases before that could stop at the first failed recursor.

  • Check dns_config.recursor_timeout (default 2s). If recursors are slow, queries time out and return SERVFAIL.
  • Use dns_config.recursor_strategy = "random" to distribute load across recursors instead of always hitting the first one sequentially; this option was introduced in Consul 1.11.

Prepared query complexity

Prepared queries can add latency and interact with rate limits when the result set is large.

  • Test the prepared query directly: curl -s "http://127.0.0.1:8500/v1/query/<name>/execute".
  • If the query is slow, check the number of matching service instances. Large result sets increase execution time.

Prevention

  • Monitor consul.dns.stale_queries and DNS latency. These are the earliest indicators that DNS resolution is degrading, before applications start failing.
  • Monitor agent-to-server RPC health on every client agent. Sustained consul.client.rpc.failed is the leading indicator for catalog staleness, which manifests as NXDOMAIN or SERVFAIL.
  • Track catalog size growth. Large catalogs slow DNS scans. Monitor total service instances and health check counts as capacity signals.
  • Test DNS resolution as part of health checks. A synthetic query against a known service catches DNS degradation before real applications hit it.
  • Document your resolver chain. If you run dnsmasq or systemd-resolved in front of Consul, ensure the team knows how to flush caches and diagnose forwarding loops during incidents.
  • Verify ACL token permissions after policy changes. A token that loses read permission on a service produces NXDOMAIN silently with no error log.

How Netdata helps

  • DNS latency and stale query tracking at per-second resolution. Netdata collects consul.dns.domain_query timers and consul.dns.stale_queries, making DNS degradation visible within seconds rather than relying on longer scrape intervals.
  • Correlating DNS failures with Raft and RPC health. When DNS latency spikes, overlay consul.raft.commitTime, consul.client.rpc.failed, and RPC latency together to distinguish “agent cannot reach server” from “server is overloaded” from “catalog is stale.”
  • Agent-to-server RPC failure detection. Netdata tracks consul.client.rpc.failed on every agent, surfacing the pattern where agents are alive in gossip but cannot push state to the catalog.
  • Disk I/O monitoring on server volumes. Slow disks are the most common root cause of Raft degradation that cascades into DNS failures. Per-disk I/O latency metrics provide early warning before commit times approach the election timeout.