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 / traefik / traefik-401-403-spike ▌

Operations Guides

Traefik 401/403 spike: auth failures, ForwardAuth outages, and brute force

Your dashboard shows traefik_service_requests_total{code="401"} climbing steeply, or the entrypoint-level 4xx panel has turned red. A 401/403 surge is one of the most ambiguous signals a reverse proxy produces, because the same symptom maps to three different situations: your auth layer correctly rejecting bad credentials, your auth layer incorrectly rejecting everyone, or an attacker hammering a login endpoint.

The trap: a ForwardAuth service that is up but degraded (session store exhausted, internal rate limit hit, broken ACL rule) rejects all requests with 401/403. To Traefik this looks like “auth working as designed.” To your users it is a full outage. Conversely, a credential-stuffing run produces the same metric shape but demands the opposite response: block, don’t fix.

What this means

Traefik itself does not generate 401/403. Those codes come from somewhere in the request chain: an auth middleware (BasicAuth, DigestAuth, ForwardAuth) short-circuiting the request, or the backend passing its own 401/403 through. There are no per-middleware Prometheus metrics in Traefik, so you cannot directly see “the ForwardAuth middleware rejected N requests.” You infer the rejection point by comparing entrypoint-level and service-level counters and by reading access logs.

The three scenarios that matter:

  1. Protection working. An auth middleware rejects requests with no valid credentials. Normal background noise, or elevated during an attack.
  2. Auth layer broken. The ForwardAuth service is reachable but returning 401/403 for everyone (degraded session store, misconfiguration), or a credential was rotated and clients still present the old one. Operationally this is an outage wearing an auth costume.
  3. Attack. Credential stuffing or brute force against a login endpoint, or authorization probing (403s) against protected paths. The auth layer is doing its job; the problem is the traffic itself.

Two confounders complicate all three. First, if Traefik sits behind a CDN or cloud load balancer, the connection source IP in access logs is the edge node’s IP, not the real client. The real source is in X-Forwarded-For, which Traefik only logs if you capture that header in the access log config. Second, a rate limiter upstream in the middleware chain returns 429 before the auth middleware runs, which masks the true shape of an attack. Watch 401, 403, and 429 together.

flowchart TD
  A[401/403 spike detected] --> B{Spike on all routers
behind ForwardAuth?} B -- Yes, all users affected --> C[ForwardAuth service degraded
or misconfigured ACL] B -- No, one endpoint --> D{Single/few source IPs
via X-Forwarded-For?} D -- Yes --> E[Brute force /
credential stuffing] D -- No, many IPs --> F{Started after a deploy
or key rotation?} F -- Yes --> G[Rotated credential /
stale client config] F -- No --> H[Authorization probing /
distributed attack] C --> I[Check auth service logs
and its dependencies] E --> J[Confirm 429s too -
rate limiter may be masking]

Common causes

CauseWhat it looks likeFirst thing to check
ForwardAuth service degraded (session store exhausted, self-rate-limited)401/403 across all routers using that middleware; valid sessions rejectedAuth service logs and its dependencies (e.g. Redis connection pool)
ForwardAuth misconfiguration (bad ACL, wrong audience)403 flood starting right after an auth service config changeRecent auth service config diff
Rotated API key / expired client secret401 spike starting at a known rotation time; affects specific service-to-service trafficWhich clients are failing, and whether they picked up the new credential
Credential stuffing / brute force401 spike on login endpoints from concentrated source IPs (check X-Forwarded-For)Access log grouped by real client IP
Authorization probing403 spike across many paths, often with scanner-style user agentsAccess log path and user agent distribution
Rate limiter masking429s rising while 401s appear lower than expected; attack looks smaller than it is401 + 403 + 429 rates combined
Errors middleware swallowing BasicAuth challengeUsers report “no password prompt, just an error page”Middleware chain order on the affected router

One important boundary: if the ForwardAuth service is completely unreachable (connection refused, DNS failure, timeout), Traefik does not return 401. It returns 500. If the client cancels while the auth call is pending, it returns Traefik’s non-standard 499. A pure 401/403 spike means the auth service answered; it just answered “no.”

Quick checks

# 1. Current 401/403 rates from the metrics endpoint
curl -s http://localhost:8080/metrics | grep -E 'code="40[13]"' | grep traefik_service_requests_total
curl -s http://localhost:8080/metrics | grep -E 'code="40[13]"' | grep traefik_entrypoint_requests_total

If 401s appear at the entrypoint level but barely at the service level, the rejection happens in the middleware chain before the request reaches a backend. If both move together, the backend itself is returning the 401s.

# 2. Check 429s too (rate limiter masking the real volume)
curl -s http://localhost:8080/metrics | grep 'code="429"'

# 3. Top source IPs from access logs.
# ClientHost is the connection IP - behind a CDN this is the edge node.
# To group by real client, capture X-Forwarded-For first via
# accessLog.fields.headers.names, then use .request_X-Forwarded-For here.
jq -r '.ClientHost' /var/log/traefik/access.log | sort | uniq -c | sort -rn | head -20

# 4. Which paths are being hit
jq -r 'select(.DownstreamStatus == 401 or .DownstreamStatus == 403) | .RequestPath' \
  /var/log/traefik/access.log | sort | uniq -c | sort -rn | head -20

# 5. Is the ForwardAuth service itself healthy?
curl -s -o /dev/null -w '%{http_code}\n' http://<auth-service>/healthz

# 6. Auth service logs - look for dependency errors, not auth decisions
# (session store timeouts, "unable to save session", pool exhaustion)
kubectl logs -l app=<auth-service> --tail=200 | grep -iE 'error|timeout|redis'

All of these are read-only. Do not restart the auth service or Traefik as a first move: if the cause is a degraded session store, a restart may flush sessions and turn a partial rejection into a total one.

How to diagnose it

  1. Scope the blast radius. Is the spike on every router that uses the auth middleware, or one endpoint? All routers plus all users affected points at the auth layer. One login endpoint points at attack traffic.

  2. Separate middleware 4xx from backend 4xx. Compare traefik_entrypoint_requests_total{code=~"40[13]"} with traefik_service_requests_total{code=~"40[13]"}. Entrypoint-only 4xx means Traefik’s middleware chain rejected the request. Matching 4xx at both levels means the backend generated it.

  3. Check the ForwardAuth service as a dependency, not as an auth oracle. A known real-world pattern: under load, Authelia exhausts its Redis connection pool and returns 401 even for fully valid sessions, with “unable to save updated user session” and Redis timeout errors in its logs. The proxy metric says “auth failures”; the auth service log says “my session store is down.” Always read the auth service’s own logs before concluding anything about credentials.

  4. Identify the real client. Behind a CDN or cloud LB, group access logs by the first X-Forwarded-For entry, not the connection IP. A concentrated source (one IP, one ASN, one user agent, high rate) is brute force. A diffuse source with valid-looking session cookies is a broken auth layer.

  5. Unmask rate limiting. If a RateLimit middleware sits before auth in the chain, the attacker is eating 429s and your 401 graph understates the attack. Sum 401 + 403 + 429 for the true rejection volume. Without a Redis backend, rate limit counters are per Traefik replica, so N replicas with average: 100 allow up to N times that in aggregate, and a distributed attacker can slip under each replica’s bucket.

  6. Check the timeline against change events. Did the spike start at a deploy, an auth service config change, a secret rotation, or a certificate rollover? A step-function onset aligned with a change event is a misconfiguration until proven otherwise. A ramp with no change event is traffic-driven.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
traefik_entrypoint_requests_total{code=~"40[13]"}Rejections at the edge, including middleware short-circuitsSustained rate >5x baseline
traefik_service_requests_total{code=~"40[13]"}4xx actually returned by backendsRising without entrypoint rise (backend-side auth change)
traefik_entrypoint_requests_total{code="429"}Rate limiter activations; masks attack volumeRising 429 alongside flat 401
Entrypoint vs service 4xx gapLocalizes the rejection to the middleware chainLarge gap during an incident
Auth service health and dependency metrics (external)The auth service is a single point of failure for every protected routeSession store errors, pool exhaustion, p99 latency climb
Access log real-client-IP concentrationDistinguishes attack from outageOne IP/ASN generating a large share of 401s
traefik_service_request_duration_secondsA degraded-but-slow auth service adds latency before rejectingLatency rising before the 401 spike

Fixes

ForwardAuth service degraded

Restore the auth service’s dependency first (session store, database, upstream IdP). If the auth service is self-overloaded, shed load at Traefik with a temporary rate limit on the affected routers rather than letting the auth service drown and reject everything. Tradeoff: rate limiting rejects legitimate users too, but it keeps the auth service alive enough to recover.

Set maxResponseBodySize (and maxBodySize when forwardBody is enabled) to a workload-specific bound; both default to -1 (unlimited). An over-limit request body or auth-server response is returned as 401, which looks exactly like an auth failure. There is no universal provider-specific number, so size the limit from your largest legitimate payload.

Rotated credential or misconfiguration

Roll back the auth service config change or re-distribute the new credential to lagging clients. For service-to-service 401s after a key rotation, the fix is on the client side; Traefik is just reporting it. Use the access log to enumerate exactly which callers still present the old credential.

Brute force / credential stuffing

Block at the edge: tighten the RateLimit middleware on the login path, and make sure sourceCriterion.ipStrategy extracts the real client from X-Forwarded-For (via depth or excludedIPs). Without this, behind a CDN you either rate-limit the CDN edge IP (blocking everyone) or nothing at all. For distributed rate limiting across replicas, use the Redis backend; per-replica counters let attackers multiply through your replica count.

If you use fail2ban against Traefik access logs: the default traefik-auth filter regex expects a username in the log entry, and Traefik does not log one on the initial 401 handshake before credentials are sent. The filter’s mode=aggressive matches those username-less 401s.

Errors middleware breaking the auth UX

If BasicAuth and the Errors middleware are chained, Errors intercepts the 401 before the browser sees the challenge, and users get a custom error page instead of a password prompt. Reorder or scope the Errors middleware so it does not swallow 401s on BasicAuth-protected routers. For ForwardAuth, authSigninURL redirects an upstream 401 to the sign-in URL. For the Errors middleware, statusRewrites can map a configured 401 to another status such as 302.

Log volume during an attack

A heavy 401 flood multiplies access log volume, and a blocked log writer can stall request handling (see Traefik access log blocking). During a sustained attack, filter access logs by status code range (for example statusCodes: ["401", "403"] on a dedicated filtered logger) so forensic capture does not become its own availability problem.

Prevention

  • Monitor the auth service as a critical dependency. Its health, latency, and its own dependencies (session store, IdP) deserve the same alerting rigor as your backends. A ForwardAuth outage is an outage.
  • Alert on the 401/403 ratio, not just the rate. A spike where 100% of requests to protected routers are rejected is an auth-layer failure. A spike concentrated on one endpoint from few sources is an attack. Different pages, different responders.
  • Track 429 alongside 401/403 so rate limiting never silently re-shapes your security signal.
  • Fix client IP attribution everywhere. forwardedHeaders.trustedIPs at the entrypoint and correct ipStrategy on rate limiters. Note trustForwardHeader is deprecated; migrate to forwardedHeaders.trustedIPs.
  • Baseline normal 4xx per router. Expired tokens and mistyped passwords are constant background. Alert on deviation, not presence.
  • Rehearse the credential rotation path. Most “mystery 401 spikes” in calm environments are rotations that did not reach every client.

How Netdata helps

  • Netdata charts traefik_service_requests_total and entrypoint requests broken out by status code, so a 401/403 spike shows up immediately and you can see in one view whether the rejections happen at the edge or at the service.
  • Per-second granularity catches the onset shape of the spike: a step function (config change, rotation) versus a ramp (attack building up), which is the first fork in the diagnostic tree.
  • Correlating the 4xx panel with 429s on the same dashboard exposes rate-limiter masking without manual query work.
  • Because Netdata also monitors the host and containers, you can put the auth service’s resource usage (CPU, memory, connection counts) next to Traefik’s 401 rate and spot a degraded ForwardAuth dependency instead of chasing phantom credential problems.
  • Anomaly detection on per-code request rates flags a deviation from the learned 401 baseline without you hand-tuning static thresholds per router.