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-resource-locked-exclusive-queue

Operations Guides

RabbitMQ RESOURCE_LOCKED - cannot obtain exclusive access to queue

Your application logs show a channel-level exception, the channel closes, and the consumer never comes back:

reply-code=405, reply-text=RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'reply.xyz' in vhost '/'

This is AMQP error 405, a channel exception raised when a connection tries to declare, consume from, purge, or delete an exclusive queue that is still owned by a different connection. Exclusive queues are bound to the lifecycle of the connection that declared them: only that connection may use them, and they are deleted when that connection closes or is lost. The error is not a capacity problem, not an alarm, and not a permissions failure. It is an ownership conflict.

Two production scenarios generate almost every occurrence of this error: a reconnection race, where the client reconnects and re-declares the queue before the broker has reaped the old connection, and a deployment or scaling mistake, where two application instances use the same client-assigned name for what each believes is its own private queue.

What this means

An exclusive queue has exactly one owner: the connection that declared it. From the broker’s perspective:

  • Any other connection that touches the queue gets 405 RESOURCE_LOCKED on the channel it used. The channel closes; the connection stays open.
  • The queue is deleted automatically when the owning connection closes or its TCP session is lost.
  • Exclusive queues are always classic queues. They are not replicated, do not survive a node restart, and cannot be declared on quorum queues or streams.

The key subtlety is timing. “Connection closed” from the broker’s point of view is not the same instant as “client called close()” or “client process died.” A client that vanishes without a clean AMQP close (network blip, process kill, LB idle timeout) is only detected as gone after the TCP layer reports the loss or the AMQP heartbeat times out. During that window, the exclusive queue still exists and is still locked. A fast-reconnecting client hits the lock with its own zombie.

Do not confuse exclusive queues with two related but distinct mechanisms:

  • Exclusive consumer (x-exclusive on basic.consume): the queue is shared, but only one consumer may subscribe. A second consumer gets ACCESS_REFUSED, not RESOURCE_LOCKED.
  • Single active consumer (x-single-active-consumer queue argument): many consumers may register, only one is active at a time, and the broker promotes the next consumer when the active one disconnects. This is the supported pattern for ordered, exclusive-style consumption on quorum queues.

Common causes

CauseWhat it looks likeFirst thing to check
Reconnect race: old connection not yet reapedOne instance of the app. Error appears right after a network blip, deploy, or restart, then often clears on the next retryBroker log for the old connection’s close event timestamped after the client’s reconnect attempt
Multiple instances sharing a client-assigned exclusive queue nameError starts the moment you scale from 1 to 2 replicas, or on every startup of the second instanceWhether the queue name is hardcoded or derived from something non-unique
RPC reply-queue pattern with a fixed nameIntermittent 405s under load; retries usually succeedWhether reply queues use server-generated names or a shared constant
Stale exclusive queue after a network partition405 persists indefinitely; queue undeletable even via management APIPartition status on the node hosting the queue
basic.get against a queue with single active consumerPolling calls fail, constant and reproducibleQueue arguments for x-single-active-consumer

Quick checks

All commands are read-only. They use guest:guest, which the broker only accepts from localhost by default; substitute your admin credentials when querying remotely.

# Find the queue and its current state
curl -s -u guest:guest http://localhost:15672/api/queues | \
  jq '.[] | select(.name=="<queue_name>") | {name, node, state, auto_delete, arguments, consumers}'

# Find the connection that owns the queue (exclusive owner is listed on the queue object)
curl -s -u guest:guest 'http://localhost:15672/api/queues/%2F/<queue_name>' | \
  jq '{name, owner_pid, exclusive_consumer_tag, consumer_details}'

# List connections from the affected client host, with age and state
curl -s -u guest:guest http://localhost:15672/api/connections | \
  jq '.[] | select(.peer_host=="<client_ip>") | {name, state, connected_at, channels}'

# Check for recent channel exceptions and connection closes in the broker log
grep -i "RESOURCE_LOCKED\|connection_closed\|closing AMQP connection" \
  /var/log/rabbitmq/rabbit@$(hostname).log | tail -50

# Rule out a cluster partition if the lock will not clear
rabbitmq-diagnostics cluster_status

In the queue object, owner_pid identifies the connection that holds the exclusive lock. If the error is a reconnect race, you will often see the old connection still present at the moment the error fired, and gone a few seconds later.

How to diagnose it

Work through these in order. Most incidents resolve at step 2 or 3.

  1. Confirm which queue and which operation failed. The client exception names the queue and the frame (queue.declare, basic.consume, queue.delete, queue.purge). The broker log records the same channel error with the connection and channel that raised it. Note the exact timestamp.

  2. Identify the lock holder. Query the queue via the management API and read owner_pid. Map it back through /api/connections to a peer_host and user_provided_name if clients set one. If the owner is the same application instance that just failed, you are looking at a reconnect race. If the owner is a different instance, you have a name collision.

  3. Check the reconnect race window. Compare the timestamp of the client’s reconnect attempt with the broker log’s close event for the old connection (connection_closed or a heartbeat timeout entry). If the close is logged after the reconnect attempt, the diagnosis is confirmed: the client outran the broker’s cleanup. Heartbeat-negotiated detection means this window is on the order of the heartbeat timeout, not milliseconds.

  4. Check for a name collision across instances. If the queue has a client-assigned name, grep your codebase and deployment manifests for that string. A name like worker-reply-queue shared by every replica guarantees a 405 for every replica after the first. Server-generated names (declare with an empty name and read back the assigned one) are the intended pattern for exclusive queues.

  5. If the lock never clears, suspect a partition artifact. After a network partition heals, an exclusive queue can survive on a node while its owning connection no longer exists anywhere. The queue then rejects every operation with 405, including deletion from the management UI. Confirm with rabbitmq-diagnostics cluster_status and by checking that the owner_pid connection is absent from every node’s connection list. The known workaround is restarting the node that hosts the stale queue, which is disruptive; schedule it.

  6. If the caller uses basic.get, check queue arguments. basic.get is not supported on queues declared with x-single-active-consumer; the broker rejects the call. Switch the client to basic.consume.

flowchart TD
  A[405 RESOURCE_LOCKED on channel] --> B{Owner = same client instance?}
  B -- yes --> C[Reconnect race: old connection not yet reaped]
  C --> C1[Fix: retry with backoff, let heartbeat reap old conn]
  B -- no --> D{Fixed client-assigned queue name?}
  D -- yes --> E[Name collision across instances]
  E --> E1[Fix: server-generated names or unique per instance]
  D -- no --> F{Lock persists after partition?}
  F -- yes --> G[Stale queue on healed partition]
  G --> G1[Fix: restart node hosting the queue - disruptive]
  F -- no --> H{Client uses basic.get on SAC queue?}
  H -- yes --> I[Unsupported combination - use basic.consume]

Metrics and signals to monitor

RESOURCE_LOCKED itself is a log-only signal; the broker does not expose channel exceptions as metrics. What you can monitor is the context that produces it.

SignalWhy it mattersWarning sign
Connection churn rate (churn_rates.connection_created/closed)Every reconnect is a chance to hit the race window on exclusive queuesCreation rate > 3x rolling baseline for 2+ minutes
Channel churn rate (churn_rates.channel_created/closed)Channel exceptions close channels; repeated 405s show up as churnSustained creation rate far above baseline without traffic growth
Queue churn rate (churn_rates.queue_declared/created/deleted)Reconnect loops re-declare the exclusive queue each cycleDeclared rate spiking in lockstep with connection churn
Log pattern count for RESOURCE_LOCKEDThe error itself; grep or ship logs to count occurrencesAny sustained nonzero rate in production
Connection count from the affected clientA leaking or looping client accumulates connectionsGrowing count from one peer_host

Correlate connection churn with the 405 log lines: if every error is bracketed by a connection close and a new connection, the race is your mechanism, and the churn alert is your early warning.

Fixes

Reconnect race

  • Retry the declaration with backoff. The lock is transient; the old connection is reaped once TCP loss or heartbeat timeout is detected. A client that retries queue.declare after a short delay will succeed. Most client libraries’ automatic recovery already re-declares topology on reconnect, but they typically retry immediately, which is exactly when the lock is still held. Add bounded retry with jitter around the topology recovery step.
  • Do not lower heartbeat timeouts to shrink the window without thinking it through. Shorter heartbeats reap dead connections faster but also increase false-positive disconnects on congested networks, which creates more reconnects, which creates more races. Fix the retry behavior first.
  • Do not restart the broker for this. The lock clears on its own within seconds to a heartbeat interval.

Shared queue name across instances

  • Use server-generated names. Declare the queue with an empty name and use the name the broker returns. Collisions become impossible.
  • If the name must be client-assigned (some RPC frameworks require it), make it unique per instance: embed the instance ID, pod name, or a generated UUID.
  • Audit frameworks that create hidden exclusive queues. JMS temporary destinations and several RPC reply-queue implementations declare exclusive queues with predictable names; a reconnect inside those frameworks hits the same race.

Stale queue after partition

  • Confirm the partition has healed and the owner connection is truly gone from all nodes.
  • The documented workaround is restarting the node hosting the stale queue. This is disruptive: it drops all connections to that node and, for quorum queues with leaders there, triggers leader elections. Schedule it and drain client traffic first.

basic.get on a single active consumer queue

  • Replace polling with basic.consume. If you genuinely need pull semantics, remove x-single-active-consumer, but note that single active consumer cannot be toggled by policy; it is set at declaration time, so the queue must be deleted and re-declared, which drops any messages it holds. Drain or shovel the messages first.

Prevention

  • Server-generated names for every exclusive queue. This single habit eliminates the collision class of 405 entirely and reduces the reconnect race to a self-healing retry.
  • Bounded, jittered retry around topology recovery. Treat 405 on declaration as a transient error worth retrying, not a fatal one.
  • Prefer single active consumer over exclusive queues for ordered single-consumer workloads that need to survive node restarts or run on quorum queues. SAC gives you failover: when the active consumer disconnects, another registered consumer is promoted, without a lock conflict.
  • Alert on connection churn, not just connection count. A reconnect loop is the upstream event; RESOURCE_LOCKED is its symptom. Catching the churn early often catches the deploy or network fault causing it.
  • Exercise partition handling deliberately. Know your cluster_partition_handling mode and rehearse what happens to exclusive queues during a partition before one happens to you.

How Netdata helps

Netdata does not see the 405 itself (it is a log event), but it surfaces the conditions around it:

  • Connection churn rate from the management API exposes reconnect loops, the leading trigger for the reconnect race.
  • Channel and queue churn make repeated failed re-declaration cycles visible as abnormal declare/create rates.
  • Per-client connection counts and states help you spot a single peer_host accumulating connections or flapping.
  • Queue and consumer counts confirm whether the exclusive queue’s consumer actually came back after recovery.
  • Correlating churn spikes with deploy events and node restarts on one dashboard shortens the “race vs. collision” decision from minutes of log spelunking to one glance.