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 / rabbitmq / rabbitmq-tls-certificate-expiry

Operations Guides

RabbitMQ TLS certificate expiry: expired certs and handshake failures that lock everyone out

Every client that connects to your RabbitMQ cluster over TLS fails at the same time. No memory alarm, no disk alarm, no queue buildup, no crash. The broker process is running, the management API may even respond, but every AMQP connection attempt dies during the TLS handshake. If inter-node (Erlang distribution) TLS is also enabled, cluster nodes cannot talk to each other and CLI tools may fail to connect as well.

This is what an expired TLS certificate looks like in RabbitMQ. Once every client uses TLS, expiry is a total outage, and it is silent in a specific way: the broker’s metrics stay green because the failure happens before any AMQP connection is established. Nothing ever becomes a connection, so connection counts, churn rates, and message rates simply drop. There is no “TLS handshake failed” counter to alert on.

The other trap: certificate expiry is not exposed as a broker metric. It is not in the Management API node stats and not in the Prometheus endpoint. If your monitoring only scrapes RabbitMQ’s own metrics, you get zero warning. The signals that do exist live in the certificate files on disk, a dedicated health check command, and the RabbitMQ log.

What this means

TLS termination happens before AMQP. A client opens a TCP connection to port 5671, the TLS handshake runs, and only then does AMQP negotiation begin. When the broker’s certificate is expired (or the chain is broken, or peer verification fails), the handshake aborts and the TCP connection closes. From RabbitMQ’s perspective there was never an AMQP connection: no connection process, no channel process, nothing in object_totals, nothing in /api/connections.

The same applies to inter-node traffic when Erlang distribution is secured with TLS on port 25672. An expired inter-node certificate means nodes cannot form or maintain the cluster link, and CLI tools that connect over distribution fail too. The playbook’s guide on Erlang distribution port saturation covers the healthy-state behavior of that link; an expired cert takes it to zero in a different way.

The only places the failure is visible:

  • The client side, as TLS errors in application logs.
  • The RabbitMQ log, as TLS alert entries such as TLS server generated SERVER ALERT: Fatal - Certificate Expired.
  • The certificate files themselves, which you can inspect directly.
flowchart LR
  C[AMQP client] -->|TCP connect 5671| H[TLS handshake]
  H -->|cert valid| A[AMQP negotiation - visible in metrics]
  H -->|cert expired / verify fails| X[handshake aborted - log entry only]
  N2[Cluster peer] -->|TCP connect 25672| H2[Distribution TLS handshake]
  H2 -->|cert expired| X2[cluster link down - log entry only]

Common causes

CauseWhat it looks likeFirst thing to check
Broker server certificate expiredAll TLS clients fail simultaneously; Certificate Expired alerts in the broker logopenssl x509 -enddate on the server cert
Inter-node (Erlang distribution) certificate expiredNodes cannot cluster; CLI tools fail; partition-like symptoms without a network faultExpiry on the distribution cert; distribution handshake errors in the log
Intermediate or CA certificate in the chain expiredHandshakes fail even though the leaf cert looks validInspect every cert in the chain file, not just the first
Peer verification failure after upgradeOutgoing TLS (federation, shovel, LDAP) fails after moving to Erlang 26+Whether the peer’s chain verifies under the new defaults
Unreadable cert or key filesTLS listener hangs or fails after cert replacementOwnership and read permission for the rabbitmq user
Verification depth too smallClient certs signed by an intermediate CA are rejectedverify and depth settings vs. your chain length

Quick checks

All read-only. Run on the broker host unless noted.

# 1. Check expiry of the broker's server certificate
openssl x509 -in /etc/rabbitmq/tls/server_cert.pem -noout -enddate

# 2. Inspect every certificate in the chain file, not just the leaf
openssl crl2pkcs7 -nocrl -certfile /etc/rabbitmq/tls/server_cert.pem | \
  openssl pkcs7 -print_certs -noout -text | grep -E "Subject:|Not After"

# 3. Built-in health check: certs expiring within 6 weeks, per TLS listener
rabbitmq-diagnostics check_certificate_expiration --unit weeks --within 6

# 4. Show the certificates presented by every TLS listener
rabbitmq-diagnostics certificates

# 5. Look for handshake failures in the broker log
grep -i "tls\|ssl\|handshake" /var/log/rabbitmq/rabbit@$(hostname).log | tail -20

# 6. Confirm the cert files are readable by the rabbitmq user
ls -l /etc/rabbitmq/tls/
sudo -u rabbitmq head -c 1 /etc/rabbitmq/tls/server_key.pem

# 7. From a client host, test the handshake and see the presented chain
openssl s_client -connect broker.example.com:5671 -servername broker.example.com </dev/null

# 8. HTTP API equivalent of the expiration check (management plugin)
curl -s -u guest:guest "http://localhost:15672/api/health/checks/certificate-expiration/within/30/days"
# Returns {"status":"ok"} on success; a failing check returns {"status":"failed","reason":"..."} with HTTP 503

Adjust paths to your deployment; /etc/rabbitmq/tls/ is a common convention, not a RabbitMQ default. Your rabbitmq.conf ssl_options.certfile, ssl_options.keyfile, and ssl_options.cacertfile values are the authoritative locations.

How to diagnose it

  1. Confirm the failure is at the TLS layer, not AMQP. From a client host, run openssl s_client -connect <broker>:5671 (step 7 above). If the handshake fails or shows an expired chain, you have your answer before touching the broker. If the handshake succeeds, the problem is elsewhere: authentication, vhost permissions, or plain connectivity.
  2. Check the broker log for the exact alert. An expired server certificate produces a fatal Certificate Expired alert. Verification failures produce different alerts (unknown CA, bad certificate, hostname check failures), which point to chain or trust problems rather than expiry.
  3. Date the certificate files. Run openssl x509 -enddate -noout -in against the server cert, and inspect every certificate in the chain file. An expired intermediate causes the same client-visible failure as an expired leaf, and it is the one most often missed because operators only check the first certificate in the file.
  4. If inter-node TLS is enabled, check the distribution certificate separately. Symptoms: nodes that are individually healthy cannot cluster, rabbitmqctl/rabbitmq-diagnostics commands that go over distribution fail, and the log shows distribution handshake errors. This looks like a network partition but the network is fine. Confirm by checking expiry on the cert configured for Erlang distribution and by testing raw TCP reachability to port 25672 to rule out an actual network fault.
  5. If certs were recently replaced, check permissions. Certificate and key files must be readable by the rabbitmq user. Files copied in as root with restrictive modes are a common cause of TLS failing right after a renewal that should have fixed everything.
  6. If only some clients fail, suspect verification depth and client trust. When client certificates are signed by an intermediate CA, the default verification depth of 1 is not enough and peer verification fails for those clients only. Clients on a different, valid chain keep working, which makes this look partial and confusing.
  7. If outgoing TLS (federation, shovel, LDAP) broke after an upgrade, check Erlang 26 behavior. On Erlang 26 and later (required by RabbitMQ 4.x), outgoing TLS connections verify the peer by default where earlier versions did not. Previously tolerated bad or expired peer certificates on remote endpoints start failing after the upgrade, with no RabbitMQ config change on your side.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Days to certificate expiry (external check)Not a broker metric; must come from cert inspection or the health check< 30 days: ticket. < 7 days: page
rabbitmq-diagnostics check_certificate_expiration resultBuilt-in per-listener check, scriptable in cron/CIAny non-zero exit outside your expected window
TLS handshake errors in the broker logThe only broker-side runtime signal for handshake failureAny Certificate Expired or rising handshake failure rate
AMQP listener reachability (active probe)Metrics cannot see failed handshakes; a TCP/TLS probe canProbe connects TCP but TLS handshake fails
Connection count vs. baselineA cliff-drop with no alarm and no churn is characteristic of TLS-layer failureSudden drop toward zero while the node reports healthy
Connection churn rateClients retrying failed TLS handshakes look like a reconnect stormCreation rate well above baseline with short connection lifetimes

One gotcha on the health check: check_certificate_expiration (and its HTTP API equivalent) inspects all certificates in the configured CA bundle file, not just the listener’s own certificate. If ssl_options.cacertfile points at a system CA bundle that contains an expired root, the check reports failure even when your server certificate is valid. This behavior is documented as intentional in RabbitMQ 4.0.6/4.1.0; if expired roots in the bundle are normal for you, do not rely on this check alone and use openssl x509 -enddate against the specific listener certs instead.

Fixes

Renew and deploy the expired certificate

Issue the replacement from your CA, install the new cert and key at the paths referenced by ssl_options.certfile and ssl_options.keyfile, and make sure the files are readable by the rabbitmq user. Then make the listener pick up the new certificate: clear the node’s certificate store cache with rabbitmqctl eval 'ssl:clear_pem_cache().' (no full restart required), or restart the broker. A restart drops all connections; with clients that reconnect cleanly this is usually acceptable during an outage that is already total, but plan it rather than improvising it. Verify with openssl s_client from a client host before declaring done.

Tradeoff: if your deployment mounts certs from a secrets store or config management, fix the source, not just the file on one node, or the next agent run will revert your emergency fix.

Fix the chain, not just the leaf

If an intermediate expired, replace the full chain file. A renewed leaf served with a stale intermediate still fails verification on clients that do not already have the new intermediate cached.

Restore inter-node TLS

For an expired Erlang distribution certificate, deploy the new cert to every node and restart nodes as required by your distribution TLS setup. Do this one node at a time in a cluster so quorum queues keep a majority, and confirm cluster membership after each node returns. If CLI tools also use distribution TLS, update their certificate configuration too.

If Erlang 26’s verify-by-default change broke outgoing federation, shovel, or LDAP connections, the correct fix is to make the remote endpoint present a valid, verifiable chain. Explicitly disabling verification restores the old behavior but also removes the protection; treat it as a temporary bridge, not the fix.

Prevention

  • Alert on expiry, not on failure. External check (cert inspection or the health check) on a schedule: ticket at 30 days, page at 7 days. This severity guidance exists because the failure mode itself gives you zero warning time.
  • Monitor every TLS surface separately. Client-facing listeners, the management UI, and Erlang distribution can use different certificates with different expiry dates. One expiring does not imply the others are fine.
  • Probe the AMQP TLS listener actively. A TCP connect is not enough; the probe must complete a TLS handshake. This is the only check that sees what clients see.
  • Log-scan for handshake failures. TLS errors appear only in the RabbitMQ log. Ship or scan it so a rising failure rate (a cert approaching expiry on one node, a client with a stale trust store) is visible before it becomes universal.
  • Track cert deployment as a change event. Most TLS incidents that are not pure expiry are botched renewals: wrong chain, wrong permissions, reverted files. Correlate TLS errors with your config management runs.
  • Rehearse the renewal. Know which config keys point at which files, that RabbitMQ picks up rotated certificates once the node’s certificate store cache is cleared with rabbitmqctl eval 'ssl:clear_pem_cache().' (no full restart required), and how clients behave during the cutover.

How Netdata helps

  • Connection count and churn correlation. Netdata charts connections, channels, and churn rates per second. The TLS-expiry signature is distinctive: connections cliff to zero while churn shows a wall of short-lived failed attempts and no resource alarm fires. That combination separates TLS failure from a connection storm or a resource-alarm publisher block at a glance.
  • Alarms as an exclusion filter. Because mem_alarm and disk_free_alarm are charted alongside connection state, you can rule out the usual suspects in one view and get to “check the certs” faster.
  • Cluster link visibility. Per-node cluster link traffic dropping to zero, correlated with nodes reporting healthy, points at distribution-layer failure (expired inter-node cert or network fault) rather than a crash.
  • Log and probe signals alongside broker metrics. Because certificate expiry and handshake failures are not broker metrics, pair Netdata’s RabbitMQ collector with an external expiry check and an active TLS probe so the warning exists before the outage does.