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-ssl-certificate-expired

Operations Guides

HAProxy SSL certificate expired: total TLS failure and how to catch it first

Every client connecting to the affected frontend gets a TLS handshake failure. Not a percentage of clients, not a slow degradation: all of them, immediately, from the moment the certificate’s notAfter timestamp passes. Browsers show NET::ERR_CERT_DATE_INVALID, API clients throw certificate validation errors, and HAProxy itself is perfectly healthy, running, and passing every process-liveness check you have.

The mechanism is trivial, the blast radius is total, and HAProxy gives you no built-in metric, counter, or log warning that a certificate is about to expire. If you are reading this during an incident, skip to Quick checks and Fixes. If you are reading it afterward, the Prevention section is the part that matters.

What this means

When HAProxy terminates TLS on a frontend (bind ... ssl crt /etc/haproxy/certs/example.pem), it serves the loaded certificate to every client during the handshake. Clients validate the chain, including the expiry date. Once the certificate expires, validation fails on the client side and the connection dies before any HTTP request exists.

Three properties make this failure mode nasty:

  • It is binary. One second before expiry everything works. One second after, nothing does. There is no brown-out period.
  • HAProxy’s own stats look almost normal. The process is up, backends are healthy, queue depth is zero. The only signals are a collapsing frontend session rate and a rise in request errors (ereq) and handshake-failure entries in the logs. There is no “certificate expired” counter.
  • One SAN certificate can take down many domains at once. A multi-domain certificate covering 30 hostnames expires once, and all 30 frontends fail simultaneously. The blast radius is the certificate’s SAN list, not the frontend count.
flowchart TD
  A[Renewal automation fails silently] --> B[Cert on disk and in memory ages toward notAfter]
  B --> C[notAfter passes]
  C --> D[All TLS handshakes on the frontend fail]
  D --> E[Frontend session rate collapses]
  D --> F[ereq rises and logs fill with handshake errors]
  G[External expiry check at 30/7/1 days] -.->|catches it first| B

The same failure applies to inter-node TLS: if HAProxy connects to backends over TLS with certificate verification enabled, an expired backend certificate makes HAProxy refuse those connections, and the backend appears down even though the application is fine.

Common causes

CauseWhat it looks likeFirst thing to check
ACME/Let’s Encrypt renewal failed silentlyPEM file on disk has an old notAfter; renewal cron/timer logs show errors or nothing recentRenewal tool logs (certbot, acme.sh); openssl x509 -enddate on the PEM
Renewal succeeded but HAProxy never reloaded the certFile on disk is valid, but HAProxy still serves the old certificateCompare show ssl cert <path> output against openssl x509 -enddate on the same file
Deploy hook failed (PEM not rebuilt or not copied)New cert exists somewhere, but the combined PEM HAProxy loads was never regeneratedTimestamps and contents of the deployed PEM vs. the CA’s issued cert
SAN certificate covering many domains expiredMany unrelated hostnames fail at the same momentopenssl x509 -text and look at the Subject Alternative Name list
Wrong cert served after rotation (SNI misconfiguration)Clients see a certificate for the wrong hostname, or the default cert instead of the matching oneopenssl s_client -servername per hostname and compare the returned cert
Intermediate chain broken in the PEMSome clients (especially mobile) fail validation while others succeed; expiry date looks fineVerify the PEM contains the full chain, not just the leaf

Quick checks

All read-only and safe to run during an incident.

# 1. What certificate is HAProxy actually serving right now?
echo | openssl s_client -connect 127.0.0.1:443 -servername example.com 2>/dev/null | \
  openssl x509 -noout -subject -issuer -enddate

# 2. What does HAProxy think it has loaded? (runtime API, lists all certs in memory)
echo "show ssl cert" | socat unix-connect:/var/run/haproxy.sock stdio

# 3. Expiry for one specific certificate as HAProxy sees it
echo "show ssl cert /etc/haproxy/certs/example.pem" | socat unix-connect:/var/run/haproxy.sock stdio

# 4. Expiry of the file on disk (what a reload would load)
openssl x509 -in /etc/haproxy/certs/example.pem -noout -enddate

# 5. Compare (3) and (4). If (3) shows an older date than (4), the renewal
#    landed on disk but never reached the running process.

# 6. Is the frontend collapsing? Session rate and request errors per frontend
echo "show stat" | socat unix-connect:/var/run/haproxy.sock stdio | \
  awk -F, '$2 == "FRONTEND" {print $1": rate="$34" ereq="$13" req_rate="$47}'

Two things to note. First, show ssl cert identifies certificates by full filesystem path, not a short name. If you configured crt /etc/haproxy/certs/, each file under that directory is registered by its full path. Second, on HAProxy 2.4 and later, show ssl cert also lists certificates used on backend server lines, so check those too if you terminate TLS to backends.

How to diagnose it

  1. Confirm the served certificate is the problem. Run check 1 against the public listener. If notAfter is in the past, you have your answer. If the date is fine but the subject or issuer is wrong, you have an SNI or wrong-certificate problem instead. Go to the SNI fix below.
  2. Compare memory vs. disk. If the on-disk PEM (check 4) is valid but the in-memory cert (check 3) is expired, the renewal worked and only the deploy hook failed. This is the best-case incident: the fix is loading the file, not getting a new certificate.
  3. If disk is also expired, check the renewal automation. Look at the renewal tool’s logs (certbot’s /var/log/letsencrypt/, acme.sh logs, or your systemd timer’s journal). Common silent failure: the ACME HTTP-01 challenge needs port 80, but HAProxy binds port 80 and the standalone challenge server cannot start, or a firewall blocks the challenge path. The renewal has often been failing for weeks before expiry while the timer kept running.
  4. Verify scope. If this is a SAN certificate, enumerate the SAN list (openssl x509 -text | grep -A1 "Subject Alternative Name") so you know every hostname that is down. If HAProxy fronts many certificates, run check 3 across all of them to see whether other certs are also near expiry.
  5. After the fix, verify from the client side. Re-run check 1 for each affected hostname and confirm the new notAfter and the expected subject. Then watch ereq and the frontend session rate return to baseline.
  6. Check for a stale-cert edge case. There are documented cases (HAProxy issue #1700, affecting HAProxy 2.5.5) where HAProxy keeps serving an older in-memory certificate even after a reload, with the correct file on disk. If checks 3 and 4 still disagree after a reload, a full restart clears it. A restart drops all existing connections, so treat it as disruptive and plan for it.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Certificate days-to-expiry (external check)HAProxy exposes no expiry metric; this must be collected from show ssl cert or the PEM fileUnder 30 days: plan. Under 7: ticket. Under 24h: page
Frontend session rate (rate)Total TLS failure shows up here first as a cliff to near zeroSudden collapse on an SSL frontend with HAProxy otherwise healthy
ereq on SSL frontendsTLS handshake failures surface as request errors; there is no dedicated handshake-failure counterSpike after any certificate rotation or TLS config change
Handshake-failure entries in HAProxy logsTermination during handshake is visible per-connection when SSL logging (%sslv, %sslc) is configuredAny volume of handshake failures immediately after a cert change
Uptime_sec dropsDetects reloads, which is when renewed certs get loaded if you rely on reloadsRenewal timestamp on disk but no corresponding reload
Backend econ / server DOWN (backend TLS only)Expired backend certs with verification enabled look exactly like dead backendsServers DOWN or econ rising on TLS backends with healthy applications

Fixes

Hot-update the certificate without a reload

If the valid PEM is already on disk, load it into the running process via the runtime API. HAProxy 2.1+ supports updating an existing certificate in memory without touching traffic:

# Stage the new certificate (transaction-style update)
echo -e "set ssl cert /etc/haproxy/certs/example.pem <<\n$(cat /etc/haproxy/certs/example.pem)\n" | \
  socat unix-connect:/var/run/haproxy.sock stdio

# Commit it
echo "commit ssl cert /etc/haproxy/certs/example.pem" | socat unix-connect:/var/run/haproxy.sock stdio

# Verify the new notAfter
echo "show ssl cert /etc/haproxy/certs/example.pem" | socat unix-connect:/var/run/haproxy.sock stdio

Constraints that bite people:

  • The certificate name is the full filesystem path exactly as HAProxy registered it, not a bare filename.
  • You can only set ssl cert over a certificate already referenced by the configuration. For a certificate HAProxy has never loaded, use new ssl cert (HAProxy 2.2+).
  • Runtime API changes live in memory only. They are lost when the process stops. The file on disk must be correct too, or the next restart or reload brings the expired certificate back.
  • Make sure the PEM contains the full chain (leaf plus intermediates). A missing or silently dropped intermediate causes validation failures on some clients, especially mobile, even with a valid expiry date. On HAProxy versions affected by issue #2818 (observed through 3.0.5, fixed in later 3.0.x/3.1.x releases), set ssl cert silently drops the intermediate CA if its PEM block uses CRLF (\r\n) line endings — common with certificates from the DigiCert API. Normalise the PEM to Unix line endings before uploading.

Renew the certificate, then load it

If the file on disk is also expired, renew first, then deploy. Whatever ACME client you use, the deploy hook must (a) assemble the combined PEM in the exact layout HAProxy expects (cert, intermediates, private key, in the order your existing files use), (b) write it to the configured path, and (c) load it via set ssl cert/commit ssl cert or trigger a reload. Test the deploy hook, not just the renewal. Most expiry outages are deploy-hook failures, not CA failures.

If a reload is unavoidable

systemctl reload haproxy loads the new certificate and drains old connections gracefully. Do not use restart unless you have to: restart drops every established connection. If a reload does not clear a stale in-memory certificate, a restart is the last resort and should be treated as a disruptive action.

SNI misconfiguration after rotation

If clients receive the default certificate instead of the one matching their hostname, the SNI mapping is wrong, not the certificate. Check that the new certificate is registered under the path your bind ... ssl crt directive expects, and test each hostname explicitly with openssl s_client -servername <host>. A rotated SAN certificate with a changed SAN list can silently stop matching hostnames that used to be covered.

Backend (inter-node) certificate expiry

If HAProxy verifies backend certificates and one expires, HAProxy refuses those connections: econ rises, servers go DOWN, and the backend looks broken while the application is healthy. Fix the backend certificate, and monitor backend cert expiry the same way as frontend certs.

Prevention

  • External expiry check on every certificate. HAProxy has no expiry metric and will not warn you. Scrape show ssl cert (or parse PEM files with openssl x509 -enddate) on a schedule and alert on days remaining. Thresholds that work: create a plan item at 30 days, a ticket at 7 days, page inside 24 hours.
  • Alert on renewal runs, not just expiry. The real failure is a renewal job that stopped working 60 days before expiry. Alert if the renewal tool has not logged a successful check within its expected interval.
  • Test the full chain after every rotation. openssl s_client per hostname, checking subject, issuer, chain completeness, and notAfter. Automate this as a post-rotation verification step.
  • Prefer runtime cert updates over reloads. set ssl cert/commit ssl cert avoids the counter resets, stick-table flushes, cold connection pools, and SSL session cache invalidation that come with every reload. Keep the disk file authoritative, because runtime changes are memory-only.
  • Inventory SAN coverage. Know which hostnames ride on which certificate. The expiry of one SAN cert should never surprise you with its blast radius.
  • Watch ereq and handshake failures after every cert change. Any spike within minutes of a rotation means broken clients. Roll back or fix immediately rather than discovering it from support tickets.
  • Shorten the manual loop. With public CA maximum certificate validity shrinking (the CA/Browser Forum has ratified a reduction to 47 days), manual renewal is no longer a viable operating model. Automate renewal and deployment end to end.

How Netdata helps

  • Frontend session rate per frontend, so a TLS-driven traffic cliff on one frontend is visible in seconds and distinguishable from a global outage.
  • ereq per frontend, which is where TLS handshake failures land in HAProxy’s stats; correlating an ereq spike with a recent cert rotation is the fastest confirmation.
  • Frontend vs. backend 5xx breakdown, so you can rule out the backend and stop debugging the application during what is purely a TLS event.
  • Reload detection via Uptime_sec, letting you correlate “cert renewed on disk” with “cert actually loaded” and catch deploy-hook failures.
  • ML-based anomaly detection on session rates, which flags the cliff even on frontends you forgot to threshold.
  • Because HAProxy exposes no expiry metric itself, pair Netdata’s HAProxy signals with any external certificate-expiry probe and alert on the 30/7/1-day ladder described above.
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.