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 / haproxy / haproxy-400-408-request-errors

Operations Guides

HAProxy 400 And 408 Request Errors: How To Fix

Your frontend hrsp_4xx counter just doubled, and it is not 404s. The spike is 400s and 408s, which means HAProxy itself is rejecting or timing out requests before they reach a backend. Unlike backend-generated 4xx, these errors say something about the bytes arriving at your frontend: malformed requests, protocol mismatches, oversized headers, or clients that open connections and never finish the request.

Split the two codes before doing anything else. A 400 means HAProxy tried to parse the request and failed. A 408 means timeout http-request fired because the client never sent a complete request in time. One is a parsing problem, the other is a timing problem, and they point at very different fixes.

One rule of thumb: if the 4xx spike lines up with a config change, a certificate change, or a version upgrade, the change is the cause almost every time. Check your deploy timeline first.

What this means

When HAProxy generates a 400, the request never left the frontend. Common triggers: request headers larger than tune.bufsize minus tune.maxrewrite, a frontend expecting PROXY protocol (or TLS) and getting something else, HTTP/2 framing violations, and request smuggling probes. All of these also increment ereq on the frontend, which is your confirmation signal.

When HAProxy generates a 408, the client connected but did not deliver a full HTTP request before timeout http-request expired. At low volume this is internet noise and browser pre-connect behavior. At high volume with many concurrent connections and almost no completed requests, it is the classic Slowloris signature: connections held open to consume your session slots and buffers.

In HAProxy logs, these show up with distinctive termination flags: PR when the proxy blocked the request (invalid syntax returns 400, a matched deny returns 403), and cR when timeout http-request fired before a complete request arrived (typically a 408).

flowchart TD
    A[4xx spike on frontend] --> B{Which code?}
    B -->|400 + ereq rising| C{Config or cert change recently?}
    C -->|Yes| D[PROXY protocol or SSL termination mismatch]
    C -->|No| E[show errors: oversized headers, H2 framing, smuggling probe]
    B -->|408| F{scur high and req_rate low?}
    F -->|Yes| G[Slowloris pattern: show sess, check source IP spread]
    F -->|No| H[Slow clients or browser pre-connect noise]

Common causes

CauseWhat it looks likeFirst thing to check
Headers exceed buffer400s from real clients, often after adding large cookies or JWTs; ereq risingshow errors; compare header sizes against tune.bufsize
PROXY protocol or SSL mismatch400s immediately after a config or upstream LB change; ereq spikeFrontend bind line vs what the upstream actually sends
HTTP/2 framing errors400s from specific clients or after enabling alpn h2show errors for the malformed frame; recent config changes
Request smuggling probesBursts of 400s from few source IPs, internet-facing frontendsshow errors output; source IP concentration in logs
Slowloris / slow clients408s, scur climbing toward slim, req_rate very low, qcur zeroscur vs rate; show sess for source IP distribution
Browser pre-connect noiseSteady low-level 408s, no user impact, no session pressureWhether 408 volume tracks real traffic or is constant background
Post-upgrade regression400s or 408s starting exactly at a version upgradeUpgrade timestamp vs spike start; release notes and issue tracker

Quick checks

All read-only. Adjust the socket path if yours differs. The CSV column positions below follow the field order in the HAProxy management documentation.

# Frontend ereq: confirm which frontends are rejecting requests at parse level
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 == "FRONTEND" {print $1": ereq="$13}'

# 4xx responses per proxy (field 43 = hrsp_4xx)
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '{print $1"/"$2": 4xx="$43}'

# Denied requests (separates policy denials from parse failures)
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '{print $1"/"$2": dreq="$11}'

# The single most useful 400 diagnostic: captured malformed requests
echo "show errors" | socat unix-connect:/var/run/haproxy.sock stdio

# Slowloris check: sessions high, request rate low
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 == "FRONTEND" {print $1": scur="$5" slim="$7" rate="$34" req_rate="$47}'

# Who is holding connections open
echo "show sess" | socat unix-connect:/var/run/haproxy.sock stdio | head -50

# Client aborts, for correlation (field 50 = cli_abrt)
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 != "FRONTEND" {print $1"/"$2": cli_abrt="$50}'

show errors is the highest-value command here. It dumps the actual captured buffers of recent malformed requests with the error position, which turns “we are getting 400s” into “clients are sending a bare TLS ClientHello to a plaintext frontend” in one step. If you only run one command from this list, run that one.

How to diagnose it

  1. Split 400 from 408. The stats CSV gives you aggregate hrsp_4xx only. Get the per-code breakdown from your HAProxy logs (the status field) or your log pipeline. Everything downstream depends on which code dominates.

  2. Line the spike up against change history. Config reloads, cert rotations, upstream load balancer changes, and HAProxy upgrades. A spike that starts at a change timestamp is that change until proven otherwise. Counters reset on reload, so compare rates, not totals, across the reload boundary. See HAProxy counter resets on reload.

  3. For 400s, run show errors. Read the captured buffers. Garbage bytes at position 0 on an SSL frontend means plaintext hitting a TLS listener (or the reverse). A valid-looking request truncated at the buffer boundary means oversized headers. Two requests concatenated with conflicting Content-Length and Transfer-Encoding headers means a smuggling probe.

  4. For 400s, verify the protocol contract on the wire. If the frontend has accept-proxy on the bind line, confirm the upstream LB is actually sending the PROXY header. If the frontend terminates TLS, confirm clients are not speaking plain HTTP to it. This mismatch is the most common post-change cause of 400 spikes.

  5. For 408s, check the session shape. Pull scur, slim, rate, and req_rate per frontend. High scur with low req_rate and near-zero bin/bout is the Slowloris pattern: many connections, almost no completed requests, backends idle (qcur zero). Normal scur with a modest 408 rate is just slow clients or pre-connect noise.

  6. For suspected Slowloris, inspect show sess. Look at the source IP distribution and session age. Thousands of connections from a narrow IP set (or a narrow set of /64s for IPv6) stuck in request receipt confirms it. Wide distribution with short lifetimes points at real clients on bad networks instead.

  7. Check termination flags in logs. PR confirms proxy-side rejection (400/403). cR confirms timeout http-request firing. If you see mostly cR with 408, your timeout is doing its job; the question is whether the clients behind it are hostile or just slow.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
hrsp_4xx (frontend)Aggregate client-error volume; your top-level tripwireSudden spike to > 2x baseline
ereq (frontend)Parse-level request failures; confirms HAProxy is generating the 400sAny spike, especially correlated with a config change
dreqACL denials; separates “blocked by policy” from “could not parse”Spike after ACL changes
scur / slimSession saturation; the damage mechanism in Slowlorisscur climbing while req_rate stays flat
req_rate vs rateRequests per connection; collapses when connections carry no requestsRatio dropping toward zero with high session count
bin / boutThroughput; near-zero during slow-header attacksHigh scur with negligible bytes moving
cli_abrtClients giving up; distinguishes impatient users from attack trafficRising alongside 408s on real client populations

Fixes

Oversized headers (400)

If show errors shows legitimate requests dying at the buffer boundary, your header payload exceeds tune.bufsize minus tune.maxrewrite. With the defaults (16384 and 1024 respectively), the effective request header ceiling is about 15 KB. Large cookies, JWTs, and accumulated X-Forwarded-* chains can cross it.

Raise tune.bufsize in the global section (for example to 32768) and reload. Tradeoffs: buffer memory is allocated per connection, two buffers each, so doubling bufsize roughly doubles per-connection buffer memory. On a high-maxconn frontend that is a real capacity decision, not a free knob. Note that HTTP/2 requires tune.bufsize of 16384 or more.

PROXY protocol or SSL termination mismatch (400)

Fix the contract, not the symptom. Either the upstream sends PROXY protocol and every frontend bind line has accept-proxy, or it does not and none of them do. Mixed states produce exactly this 400 spike. Same for TLS: if clients speak plaintext, route them to a plaintext frontend or redirect them. This class of bug is why ereq spikes deserve an automatic “what changed” check.

HTTP/2 framing errors (400)

If the 400s started when you enabled alpn h2, and show errors shows H2 preface or frame violations, check that the clients triggering it actually speak HTTP/2 and that intermediaries between the client and HAProxy are not mangling frames. Some of these are version-specific parser behaviors; if the spike started at an upgrade, check the HAProxy issue tracker for regressions in your exact version before assuming client fault.

Request smuggling probes (400)

Internet-facing frontends will see a steady drip of these. A patched HAProxy returns 400 and logs the attempt, which is the correct behavior. What matters operationally: keep HAProxy current. CVE-2023-25725 (HTTP request smuggling via HTX-aware versions) was fixed across the 2.8, 2.7, 2.6, 2.5, 2.4, 2.2, and 2.0 maintenance branches, and similar parsing CVEs keep appearing. If you are on an unpatched version and seeing 400 bursts with smuggling-shaped buffers in show errors, treat the upgrade as the fix, not the logging.

Slowloris and slow clients (408)

timeout http-request is your primary defense: it caps how long HAProxy waits for a complete request. If you do not set it, timeout client applies between request chunks, which is usually far more generous than you want against slow-header attacks. Set timeout http-request tight: 5 to 10 seconds is common practice for frontends that serve fast APIs; loosen it if you legitimately serve slow clients on bad networks.

If the attack persists, add per-source-IP rate limiting with a stick table (conn_rate or http_req_rate tracking) so a concentrated source burns itself out instead of your maxconn. Watch scur/slim while you tune: the goal is that attack connections die at the request timeout before they dent your session budget. For the saturation side of this, see HAProxy scur approaching slim.

Pre-connect and probe noise (408 / 400)

Browsers open speculative TCP connections and sometimes never use them; timeout http-request fires and you get a 408 nobody noticed except your graphs. The documented workaround is errorfile 408 /dev/null, which silently closes the connection instead of sending a response. Similarly, option http-ignore-probes suppresses the 400/408 response, the log line, and the error counter when a connection closes without sending anything.

Both have a real cost: you are throwing away signal. The manual warns http-ignore-probes should not be used on internet-facing frontends because scans and malicious activity stop being logged. Prefer these only on internal frontends or health-check-heavy paths where the noise has a known, benign source, and keep the counters visible everywhere else.

Prevention

  • Baseline your 4xx composition. Know your normal 400/408 rate per frontend so “2x baseline” means something. Internet-facing frontends always have noise; internal frontends should be near zero, and any ereq there is a bug.
  • Alert on ereq rate, not just hrsp_4xx. Parse failures are the early, specific signal; the 4xx aggregate lags and mixes in benign 404s.
  • Correlate alerts with deploy events. Pipe config reload and version change timestamps into your dashboards. Most 400 spikes explain themselves in one look.
  • Set timeout http-request deliberately on every HTTP frontend, sized to your real client population, before an attacker sizes it for you.
  • Track HAProxy security releases. Request-smuggling and framing fixes land regularly; the 400 counter is partly a function of how current your parser is.
  • Load-test header limits after any change that grows cookies or tokens, so you find the tune.bufsize ceiling in staging instead of in show errors.

How Netdata helps

  • Netdata collects the HAProxy stats CSV continuously, so hrsp_4xx, ereq, and dreq are per-second time series rather than snapshots you have to poll by hand during an incident.
  • Plotting ereq against hrsp_4xx on the same dashboard separates HAProxy-generated 400s from backend-returned 4xx without log diving as a first step.
  • The Slowloris signature (scur climbing, req_rate flat, bin/bout near zero, qcur zero) is a correlation pattern across four charts, and having them on one screen makes it a 30-second call instead of a guessing game.
  • Counter resets on reload are handled, so rate charts stay honest across the config change that probably caused the spike in the first place.
  • Anomaly detection on ereq and hrsp_4xx catches the slow-build cases, like a gradual header-size creep toward the buffer limit, before users hit it.
The Netdata solution

HAProxy load balancer monitoring with Netdata

Netdata monitors HAProxy with per-second frontend, backend, and queue metrics plus ML-powered anomaly detection. Correlate maxconn saturation, queue buildup, health-check cascades, 5xx attribution, and file-descriptor exhaustion against the backend and host signals behind them, so you catch the incidents in these runbooks before they page anyone.