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 / apache-pulsar / apache-pulsar-authentication-failures ▌

Operations Guides

Apache Pulsar authentication failures: expired tokens, wrong credentials, and brute force

Authentication failures in Apache Pulsar surface through pulsar_authentication_failures_total and AuthenticationException entries in broker logs. In a stable environment, this counter sits near zero. When it spikes, the temporal pattern matters more than the absolute volume: a single burst from a known client after a credential rotation is normal; sporadic low-rate failures from production IPs point to misconfiguration; a sustained flood from unknown sources signals brute force or credential compromise.

Each failure closes the TCP connection. The client reconnects, authenticates again, and either succeeds or fails. This loop consumes file descriptors, Netty direct memory buffers, and CPU on both sides. Brokers check auth data expiry every authenticationRefreshCheckSeconds (default 60 seconds). If the client supports auth refreshing, the broker sends a CommandAuthChallenge. If not, and the credential is expired, the broker disconnects. An expired token does not cause a single failure; it causes a continuous reconnect storm until the credential is refreshed.

The downstream symptoms (connection churn, rising direct memory, intermittent producer or consumer errors) are often what operators notice first. Check pulsar_authentication_failures_total before investigating connection or memory metrics.

The auth_method label distinguishes TLS, JWT, and OAuth2 failure modes. The provider_name label identifies the authentication provider class. The reason label carries the specific failure cause, though its enumerated values are not formally documented and may vary by provider and deployment.

Common causes

CauseWhat it looks likeFirst thing to check
Expired JWT tokenSudden spike from one client or region, auth_method=JWT. Reconnect storm follows.Token expiry timestamp and refresh cycle config
Expired TLS certificateAll TLS clients fail simultaneously. auth_method=TLS. Broker logs show handshake errors.openssl s_client against broker TLS port
Wrong credentials (new deploy)Failures start at deployment time, concentrated on one client identity.Client auth configuration vs. broker provider settings
External auth provider downFailures across all OAuth2 or OIDC clients. No specific credential error.Connectivity to the OIDC or OAuth2 provider endpoint
Proxy auth forwarding misconfiguredExpired tokens not enforced on proxied connections. Clients continue with stale credentials.forwardAuthorizationCredentials and authenticateOriginalAuthData settings
Brute force or scanningSustained flood of failures from many unknown source IPs. No corresponding success rate increase.Source IP distribution from broker logs

Quick checks

# Check current auth failure counts with label breakdown
curl -s http://<broker-host>:8080/metrics | grep pulsar_authentication_failures_total

# Compare failures to successes for ratio analysis
# pulsar_authentication_success_total exists (labels: provider_name, auth_method)
curl -s http://<broker-host>:8080/metrics | grep -E "pulsar_authentication_(failures|success)_total"

# Check expired token counter (metric name pulsar_expired_token_total since Pulsar 2.11.0; pulsar_expired_token_count before)
curl -s http://<broker-host>:8080/metrics | grep pulsar_expired_token_total

# Inspect recent AuthenticationException entries in broker logs
grep "AuthenticationException" /var/log/pulsar/broker.log | tail -50

# Check TLS certificate expiry on the broker TLS port
openssl s_client -connect <broker-host>:6651 2>/dev/null | openssl x509 -enddate -noout

# Monitor connection churn (names: pulsar_connection_created_total_count / pulsar_connection_closed_total_count)
curl -s http://<broker-host>:8080/metrics | grep -E "pulsar_connection_(created|closed)"

# Check broker process health
curl -sf http://<broker-host>:8080/admin/v2/brokers/health

# Group auth failures by auth_method to isolate the affected provider
curl -s http://<broker-host>:8080/metrics | grep pulsar_authentication_failures_total | sed 's/.*auth_method="\([^"]*\)".*/\1/' | sort | uniq -c

How to diagnose it

flowchart TD
    A["Spike in auth failures"] --> B{"Rate pattern?"}
    B -->|"Sudden spike, one client"| C["Expired token or cert"]
    B -->|"Sporadic, low rate"| D["Wrong credentials"]
    B -->|"Sustained flood, unknown IPs"| E["Brute force"]
    C --> C1["Check auth_method label"]
    D --> D1["Check provider_name label"]
    E --> E1["Check source IP in broker logs"]
    C1 --> C2["Verify token expiry and refresh config"]
    D1 --> D2["Review client auth configuration"]
    E1 --> E2["Apply network-level controls"]
  1. Group by reason label. The reason label distinguishes credential validation failures, provider errors, and expired credentials. Group failures by this label to identify the dominant failure mode.

  2. Correlate with broker logs. AuthenticationException entries provide the full error message including the client identity. Use these to identify which client identities or source IPs are generating failures.

  3. Check for proxy involvement. If you run Pulsar Proxy in front of brokers, verify that forwardAuthorizationCredentials=true is set in proxy.conf and authenticateOriginalAuthData=true is set in broker.conf. Without both, token expiry is not enforced on proxied connections. This is a well-documented operational gap that has affected multiple Pulsar versions.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
pulsar_authentication_failures_totalPrimary indicator of auth problems. Near zero in healthy clusters.Any sustained rate above zero, or a spike from baseline
pulsar_authentication_failures_total by auth_methodIsolates which auth provider is failing (TLS vs JWT vs OAuth2)One method failing while others succeed
pulsar_authentication_failures_total by reasonDistinguishes expired credentials from validation errors and provider failuresSingle reason value dominating the failures
pulsar_expired_token_totalCounts expired tokens separately from general auth failures (Pulsar 2.11.0 and later)Non-zero and growing indicates token lifecycle issue
pulsar_connection_created_total_count vs pulsar_connection_closed_total_countAuth failures close connections, driving reconnect churnCreated count significantly exceeds closed count over time
pulsar_active_connectionsReconnect storms inflate connection count and file descriptor usageSudden spike or oscillating pattern
TLS certificate days to expiryExpired certs cause total auth breakdown for TLS clientsLess than 30 days remaining

Fixes

Expired tokens

For JWT tokens, regenerate and distribute new tokens with appropriate expiry windows. Short-lived tokens (1 to 24 hours) are more secure but require automated rotation infrastructure. Long-lived tokens (7 days or more) are simpler to operate but increase the blast radius of a compromised token.

Verify that authenticationRefreshCheckSeconds is set appropriately for your token lifetime. The default of 60 seconds means the broker checks expiry once per minute. If your tokens are short-lived, clients must support the auth refresh challenge flow to avoid disconnection.

For OAuth2 or OIDC, verify that the token endpoint is reachable and returning valid tokens. Check client credentials, scopes, and the issuer URL configuration against the broker’s configured provider.

Expired TLS certificates

Rotate certificates before expiry. An expired broker certificate causes immediate TLS handshake failures for all TLS clients. After rotation, existing connections may need to re-establish if the certificate change is not transparent to the TLS session.

Proxy auth forwarding misconfiguration

This is the most insidious auth failure mode because it can result in silent acceptance of expired credentials, not rejection. If you run Pulsar Proxy:

  1. Set forwardAuthorizationCredentials=true in proxy.conf.
  2. Set authenticateOriginalAuthData=true in broker.conf.
  3. Both settings are required. Either alone is insufficient.

Without both settings, the broker trusts the proxy’s authentication result and does not independently validate token expiry. Clients with expired tokens continue operating until the next full reconnect, at which point they may fail unpredictably.

CVE-2023-31007 documented a related gap where clients could stay connected after their auth data expired (affected: Pulsar through 2.9.4, 2.10.0-2.10.3, and 2.11.0; fixed: 2.9.5, 2.10.4, and 2.11.1). Later Pulsar releases improved enforcement, but the proxy configuration requirement persists. Always verify both settings after any proxy or broker configuration change.

Pulsar 4.2.0 (PR #25179) closes this gap: the proxy now closes the client connection immediately when credentials expire and forwardAuthorizationCredentials is disabled.

Wrong credentials after deployment

Identify the affected client from broker logs or the provider_name label. Compare the client auth configuration against the broker’s configured auth provider. Common issues include wrong token file path or contents, mismatched auth plugin class name between client and broker, incorrect trust store or certificate chain for TLS, and wrong tenant or namespace in the auth data.

External auth provider unavailable

If you use an external auth provider (OIDC, OAuth2, LDAP), auth failures spike when the provider is unreachable. Check network connectivity to the provider endpoint, verify the provider service is healthy, and check for DNS resolution issues. The reason label will show provider-related errors rather than credential validation errors.

Brute force or unauthorized access

Pulsar does not include built-in rate limiting for authentication failures. There is no authenticationMaxFailedAttempts or equivalent setting in the broker configuration. To protect against brute force:

  1. Restrict broker network access to known client IP ranges using network ACLs or security groups.
  2. Deploy a WAF or reverse proxy with rate limiting in front of the Pulsar binary protocol.
  3. Use fail2ban or equivalent log-scanning tools to detect and block source IPs generating sustained auth failures from broker logs.
  4. Monitor the auth failure rate by source IP by correlating with broker logs, since the Prometheus metric does not include source IP as a label.

Prevention

  • Automate token rotation. Deploy tokens with automated refresh mechanisms. Never rely on manual rotation for production credentials.
  • Monitor certificate expiry. Track days-to-expiry for all TLS certificates. Alert at 30 days and again at 7 days.
  • Audit proxy configuration after every change. The forwardAuthorizationCredentials and authenticateOriginalAuthData settings are easy to miss during proxy reconfiguration and the failure mode is silent.
  • Include auth checks in deployment pipelines. Verify client auth configuration before deploying to production. A staging environment with the same auth providers catches most misconfiguration.
  • Restrict broker network exposure. Brokers should only be reachable from known client networks. Direct internet exposure invites brute force.
  • Monitor auth failure rate as a security signal. A sudden increase from unknown sources can be the first indicator of credential compromise or network scanning.

How Netdata helps

  • Netdata collects pulsar_authentication_failures_total at per-second resolution. A spike that resolves in seconds is a rotation event; a sustained rate over minutes from the same source is an attack. 15 to 30 second scrape intervals can miss burst patterns that cause minutes of reconnect churn.
  • The auth_method, provider_name, and reason labels are preserved, allowing you to slice auth failures by provider and failure mode without custom queries or log parsers.
  • ML anomaly detection on the auth failure rate catches subtle increases that would not trigger a static threshold but indicate a growing misconfiguration or slow credential leak.
  • Correlating auth failures with connection churn metrics (pulsar_connection_created_total_count, pulsar_active_connections) in the same view reveals the downstream impact on broker resource consumption.