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.

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

Level Up Your Monitoring

Real problems. Real solutions. 112+ guides from basic monitoring to AI observability.

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 / nginx
NGINX · OPERATIONS PLAYBOOK

Running NGINX in production, without the 502 at 3 a.m.

Master and workers, the event loop, connection slots, upstreams. The mental model of how the server actually processes traffic, where it tends to break, what to monitor as your operation matures, and the runbooks for the incidents you'll see.

"

NGINX almost never breaks on its own. It breaks at the seams — between the kernel and the worker, between the worker and a slow backend, between a buffer and the disk.

The defaults work. Until a slow upstream makes connections pile up and every worker_connections slot is consumed. Until the process hits the default 1024 file-descriptor limit and starts logging too many open files. Until a backend stops responding and nginx returns 502 for traffic that has nothing wrong with it. Until a large response overflows proxy_buffers and silently spills to a temp file while latency triples. Until the kernel listen queue overflows and connections are dropped before nginx ever sees them — with zero evidence in any nginx log.

These guides are written for engineers who already run NGINX, not for people learning what a reverse proxy is. The goal is the mental model of how workers actually process traffic, the failure patterns that keep recurring, the monitoring story that catches problems before they page anyone, and the runbooks you wish someone had handed you before your last incident.

How NGINX actually runs in production

NGINX is not one thing doing the work. It is a master process that binds ports and supervises, a handful of single-threaded worker event loops that do all the traffic, a per-connection state machine, and a strict contract with the kernel below and the backends above. Most production failures live between these layers, not inside any one of them.

01
clients / browsers
Whatever opens connections: browsers, mobile apps, API clients, other proxies, load-balancer health checks. Slow clients and aggressive client timeouts shape what nginx sees as latency and 499s.
CLIENT
02
kernel listen queue
The TCP accept queue, sized by <code>net.core.somaxconn</code> and the <code>listen</code> <code>backlog</code> (effective = the lower of the two). When it overflows, connections are dropped here — before any worker sees them, invisible to nginx logs.
KERNEL
03
master process
Reads config, binds listening sockets, spawns workers, and handles signal-based lifecycle (reload, reopen, binary upgrade). It never processes traffic. A failed reload does not stop it — the old config keeps serving.
MASTER
04
worker event loop
One single-threaded <code>epoll</code> loop per worker. Each holds <code>worker_connections</code> slots (default 512, not 1024). A worker never blocks — it registers interest in the next event and moves on. CPU-bound work (TLS, gzip, regex) stalls everything that worker holds.
WORKER
05
connection state machine
Every connection moves through reading headers, reading body, processing, writing response, keepalive idle. Per-connection buffers (<code>client_body_buffer_size</code>, <code>proxy_buffers</code>) live here; overflow spills to disk temp files.
STATE
06
upstream pool
Per-worker keepalive connections to backends. Passive health checking (<code>max_fails</code>, <code>fail_timeout</code>) marks servers down on real-request failures. Every proxied request uses two connections — client side and upstream side.
UPSTREAM
07
backends / origin
App servers, FastCGI/uWSGI pools, other proxies, object storage. When they slow down or close early, nginx is the messenger — 502, 504, <code>no live upstreams</code> — not the cause.
BACKEND
08
disk + logs
Request/response temp files, the on-disk proxy cache, and synchronous access/error logs. Under an error storm, log I/O pressures the event loop; a full log disk silences diagnostics exactly when you need them.
DISK

Why this matters: a request can be slow because of a slow client, a slow backend, a temp-file spill to disk, a TLS handshake burst, a regex backtrack, a full listen queue, or a keepalive pool that never reuses connections. The symptom is the same — high $request_time — but each layer has a different signal and a different fix. The classic mistake is reading $request_time as backend latency when it also includes client time.

The failures you'll actually see

Most NGINX incidents fall into a small set of recurring patterns. Recognise the shape, and triage gets dramatically faster.

CRITICAL

The connection exhaustion cliff

Every worker_connections slot is in use. nginx accepts connections from the kernel but has no structure to process them, so it drops them. There is no graceful degradation — it is a cliff. Underneath it is usually a slow backend piling up connections, keepalive idle accumulation, or the default 512 slots being far too low for a reverse-proxy workload (where each request needs two).

  • accepts &gt; handled gap growing in stub_status
  • active connections near worker_connections × worker_processes
  • worker_connections are not enough in the error log
  • request rate dropping while traffic still arrives
Investigate
IMMINENT

The backend cascade

One upstream slows down. Workers hold connections waiting for it; slots fill; the remaining healthy backends take all the traffic and overload too. nginx looks down even though nginx itself is fine — its CPU is normal and $upstream_response_time is the entire story. If every backend fails, every request becomes a 502 or 504.

  • $upstream_response_time climbing while nginx CPU is flat
  • 502 / 504 rate rising
  • no live upstreams while connecting to upstream
  • active connections climbing with falling throughput
Investigate
CRITICAL

File descriptor exhaustion

nginx hits the file-descriptor ceiling — the lower of worker_rlimit_nofile and the system ulimit, often a dangerously low 1024. It can no longer accept connections, open log files, or connect to upstreams. Failures are immediate and total; if FDs are truly gone, nginx cannot even log the error. Each proxied request burns two FDs, and idle keepalive connections hold them.

  • too many open files in the error log
  • FD usage above 95% of the limit
  • connections refused despite low CPU
  • cannot open log file or connect to upstream
Investigate
WATCHFUL

Buffer spill to disk

A large request or response body exceeds the configured buffers and nginx silently writes it to a temp file. Disk I/O spikes; latency for large transfers explodes. There is no error-log entry — the only fingerprint is a gap where $request_time is far larger than $upstream_response_time. The fix is buffer sizing or faster temp storage, not chasing a phantom backend problem.

  • request body buffered to a temporary file warnings
  • $request_time ≫ $upstream_response_time on large transfers
  • disk I/O correlated with response size
  • temp files appearing in proxy_temp_path / client_body_temp_path
Investigate
ACTIVE

SSL termination overload

Workers spend all their CPU on TLS handshakes. It shows up with high connection churn (short-lived connections, no keepalive), a low session-cache hit rate, and throughput that is low relative to connection rate. The bottleneck is CPU, not connections. The fix is session resumption, TLS 1.3, HTTP/2, or moving termination to a dedicated edge — not more workers.

  • worker CPU near 100% with normal disk and network
  • SSL session cache hit rate low
  • connection rate high, requests/sec low
  • latency climbing in step with new-connection rate
Investigate
IMMINENT

Silent kernel listen-queue drops

Workers can't accept fast enough, or the backlog is too small, and the kernel drops connections before nginx ever sees them. stub_status shows nothing. The error log shows nothing. The only symptom is client-side connection timeouts, usually blamed on the network. The tell is the TcpExtListenOverflows counter climbing — a signal that lives in the kernel, not in nginx.

  • TcpExtListenOverflows increasing
  • ss -tlnp Recv-Q approaching Send-Q on :80/:443
  • client connection timeouts with clean nginx logs
  • SYN_RECV socket count growing
Investigate

NGINX monitoring maturity levels

NGINX observability works in four practical levels. Each is a complete operation, not a stepping stone. Pick the level that matches how much your edge matters. Most production deployments should land at the second level.

Level 1: Survival

Know that something is wrong

Survival monitoring is the floor. With these signals you can answer one question: is nginx still serving? You will not learn what broke, but you will learn that something broke before users do. Survival is enough for internal tools and low-stakes sites.

  • Master process alive + worker count Is the master up and are workers at the configured count?
  • Listening on expected ports Is :80/:443 actually bound and accepting?
  • HTTP 5xx rate Are server-side errors spiking?
  • Active connections (stub_status) Any connections being handled at all?
  • Error log [emerg]/[alert]/[crit] Did something catastrophic just log?
  • SSL certificate expiry countdown Is a cert about to take the site down?

Level 2: Operational

Diagnose most incidents on your own

Operational monitoring is what most production edges should target. Survival tells you something is wrong; operational tells you what. With this coverage your team can usually diagnose an incident on its own: connection pressure, backend latency, error breakdown, client abandons.

  • Requests per second Is throughput tracking expectations?
  • Reading / Writing / Waiting breakdown Slow clients, slow upstreams, or healthy keepalive?
  • Dropped connections (accepts − handled) Is nginx dropping what the kernel handed it?
  • $request_time percentiles (P50/P95/P99) How slow is the slow tail?
  • $upstream_response_time percentiles Is the latency in nginx or in the backend?
  • Status code distribution (4xx / 5xx) Which errors, and how many?
  • Client abandons (499 rate) Are users bailing before the response?
  • File descriptor utilisation per worker How close to the FD ceiling?
  • Worker CPU and RSS Is a worker pinned or leaking?
  • Error log rate by severity Is the error rate trending up?

Level 3: Mature

Catch problems before they become incidents

Mature monitoring catches problems before they wake anyone. A single degrading upstream that aggregate metrics hide. The listen queue starting to overflow. The keepalive pool that stopped reusing connections. The cache hit rate drifting down. None of these page you on day one; they become incidents on day thirty.

  • Per-upstream metrics ($upstream_addr) Is one backend of five degrading?
  • $upstream_connect_time / header_time split Is it connect, processing, or transfer?
  • TcpExtListenOverflows rate Is the kernel dropping connections silently?
  • Connection slot utilisation ratio How much headroom before the cliff?
  • Upstream keepalive reuse (connect_time 0) Is the pool actually reusing connections?
  • Cache hit rate + status distribution HIT / MISS / STALE / EXPIRED breakdown.
  • SSL session cache hit rate Are handshakes being amortised?
  • Reload frequency and success/failure Are reloads applying — or silently failing?
  • Rate-limit rejection rate Are limits firing on real users?
  • Log-partition disk free Will an error storm fill the disk?

Level 4: Expert

Reactive instrumentation after real incidents

Expert signals enter your stack the day after a specific incident proved you needed them. Per-worker load imbalance, conntrack table pressure, temp-file creation rate, ephemeral-port exhaustion to upstreams, error-masking between $status and $upstream_status. Most teams never need every signal here. Add the ones your incident history demands.

  • Per-worker CPU / connection imbalance Is one worker doing all the work?
  • Kernel conntrack table utilisation Is nf_conntrack filling under load?
  • Temp-file creation rate Are buffers overflowing to disk?
  • Ephemeral port / TIME_WAIT per upstream Is connection churn exhausting ports?
  • $upstream_status vs $status discrepancy Are retries masking real backend errors?
  • Old worker accumulation after reload Are old workers stuck on long-lived connections?
  • Rate-limit zone effective capacity Have unique keys outgrown the zone?
  • TLS version / cipher distribution shifts Are legacy clients or attacks shifting the mix?

Operating mistakes worth avoiding

The traps NGINX teams keep falling into. Each has a clear, well-known fix. Most teams only learn it after an incident.

Assuming worker_connections defaults to 1024

The actual default is <code>512</code>. Blog posts and tutorials perpetuate the 1024 myth. Worse, in reverse-proxy mode each request uses two connections (client + upstream), so effective capacity is half what the number suggests. Verify with <code>nginx -T | grep worker_connections</code> and size for the 2× multiplier.

Never monitoring accepts − handled

The dropped-connection counter in stub_status is the canary for connection exhaustion — it grows before active connections hit the ceiling. It is zero-cost, always available, and almost universally ignored. Track the rate of the gap, not the absolute value.

Reading $request_time as backend latency

The single most common nginx misdiagnosis. <code>$request_time</code> includes client send/receive time, so a 50 ms backend response delivered to a slow mobile client logs as 5 s. Always log and compare <code>$upstream_response_time</code> (and <code>$upstream_header_time</code>) alongside it.

Leaving the FD limit at the default 1024

FDs are cheap; exhaustion is a cliff. Each proxied request uses two, keepalive holds them idle, and the limit is the lower of <code>worker_rlimit_nofile</code> and the system <code>ulimit</code>. If you expect 10,000 connections, set the limit to 65,536 and stop worrying.

Ignoring the kernel listen queue

stub_status cannot see it. When <code>net.core.somaxconn</code> or the <code>listen backlog</code> is too small, connections are dropped before nginx accepts them — zero nginx-log evidence, only client timeouts blamed on the network. Monitor <code>TcpExtListenOverflows</code>.

No per-upstream visibility

When one of five backends degrades, aggregate metrics barely move — healthy servers dilute the signal. Without per-server breakdowns parsed from <code>$upstream_addr</code>, partial failures go undetected until the cascade. Especially dangerous with passive health checks, where real user requests are the probes.

Treating reloads as free

Each <code>nginx -s reload</code> spawns new workers, drains old ones, and adds a brief latency bump. A failed reload does not stop nginx — the old config keeps serving and the drift goes unnoticed. Without <code>worker_shutdown_timeout</code>, old workers on WebSocket/long-poll connections may never exit.

Not monitoring temp-file spooling

When buffers overflow, nginx silently writes bodies to disk, adding latency invisible to <code>$upstream_response_time</code>. The gap between <code>$request_time</code> and <code>$upstream_response_time</code> reveals it, but few teams watch that difference — or the temp-file creation rate.

NGINX runbooks in this section

Each guide is a focused runbook for one symptom or topic. Pick one when you have an incident, or use the categories to learn the area.

WHERE TO GO NEXT

Setting up NGINX monitoring, or putting out a fire?

If you're starting from scratch, the monitoring checklist is the path of least regret. If you're mid-incident, jump straight to the symptom that matches what you're seeing.