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-precondition-failed-inequivalent-arg

Operations Guides

RabbitMQ PRECONDITION_FAILED - inequivalent arg: redeclaring a queue with different properties

Your application logs are filling with channel exceptions and consumers or publishers keep reconnecting:

PRECONDITION_FAILED - inequivalent arg 'x-queue-type' for queue 'email.queue'
in vhost 'Email': received none but current is the value 'quorum' of type 'longstr'

This is AMQP error 406, a channel-level exception. A client declared a queue (or exchange) that already exists, but one or more of the declared properties do not match how the entity was originally created. RabbitMQ refuses the declaration and closes the channel. The connection usually survives, but most client libraries treat a channel exception as fatal and tear down the whole connection, so a single mismatched declaration often looks like a reconnect storm.

The classic triggers: you migrated queues from classic to quorum and not every client sets x-queue-type, or someone changed a TTL, max-length, or durability setting in application code without deleting the old queue first. The queue’s original definition is stored in the broker’s metadata and it does not change when you edit the code.

What this means

AMQP 0-9-1 treats queue.declare as idempotent only when it is identical. When a client declares a queue that already exists, the broker compares the incoming declaration against the stored definition. The compared properties are durable, exclusive, auto-delete, and the full arguments map (x-message-ttl, x-max-length, x-queue-type, x-dead-letter-exchange, and so on). If anything differs, the broker raises 406 PRECONDITION_FAILED on that channel and closes it. The same equivalence check applies to exchanges, where the compared properties include the exchange type and durability.

The error message names the exact argument that mismatched, the value the client sent (“received”), and the value the broker has stored (“current”). Read it literally. received none but current is the value 'quorum' means the client did not send the argument at all and the stored queue has it set.

Two details matter for diagnosis:

  1. Only client-provided arguments are compared. If a policy set the argument on the existing queue, a client that omits that argument will not trigger the exception. This is why policy-managed arguments (TTL, max-length, DLX) are the recommended pattern: they decouple the queue’s runtime behavior from what each client declares.
  2. The channel is dead, the definition is not. Retrying the same declaration on a new channel fails the same way, forever. No amount of reconnecting fixes a property mismatch. Applications in this state end up in a tight declare-fail-reconnect loop, which shows up as elevated channel and connection churn on the broker.
flowchart TD
  A[Client calls queue.declare] --> B{Queue exists?}
  B -- no --> C[Queue created with declared properties]
  B -- yes --> D{durable, exclusive, auto-delete and args match?}
  D -- yes --> E[Declare succeeds, idempotent no-op]
  D -- no --> F[406 PRECONDITION_FAILED, channel closed]
  F --> G[Client library often closes connection and reconnects]
  G --> A

Common causes

CauseWhat it looks likeFirst thing to check
Classic to quorum migration, incomplete client rolloutinequivalent arg 'x-queue-type', received none or classic, current quorumWhich clients still declare without x-queue-type
TTL or max-length changed in code, old queue still existsinequivalent arg 'x-message-ttl' or 'x-max-length', values differThe current queue arguments vs the new code
Durability flipped in codeinequivalent arg 'durable', received true but current is false (or reverse)durable column in rabbitmqctl list_queues
Mixed client versions declaring the same queueError appears intermittently, correlates with which instance connectedWhether different service versions declare different arguments
Policy-applied argument vs hardcoded argumentOne client declares an argument the queue got from an operator policyrabbitmqctl list_policies vs the client declaration
Exchange redeclared with a different typeSame 406, but naming an exchange; inequivalent arg 'type'rabbitmqctl list_exchanges type column
Quorum-incompatible features carried overx-max-priority, x-queue-mode, or x-overflow: reject-publish-dlx mismatch during quorum migrationWhether the old queue used priority, lazy mode, or reject-publish-dlx overflow

Quick checks

All read-only.

# Find the error and the exact mismatched argument in the broker log
grep -i "PRECONDITION_FAILED" /var/log/rabbitmq/rabbit@$(hostname).log | tail -20

# Inspect the stored definition of the queue named in the error
rabbitmqctl list_queues name durable auto_delete arguments | grep -F "email.queue"

# Check whether a policy is applying arguments to this queue
rabbitmqctl list_policies

# If the error names an exchange, check its stored type and durability
rabbitmqctl list_exchanges name type durable arguments

# See whether failing clients are causing channel churn on the broker
# (default guest/guest credentials only authenticate from localhost)
curl -s -u guest:guest http://localhost:15672/api/overview | jq '.churn_rates | {channel_created, channel_closed, connection_created}'

If arguments in the list_queues output is empty but the error says current is the value 'quorum', check you are looking at the right vhost: rabbitmqctl list_queues -p <vhost> ....

How to diagnose it

  1. Extract the three facts from the error message. The argument name, the received value, and the current value. In received none but current is the value 'quorum', the fix direction is either “make the client send x-queue-type: quorum” or “recreate the queue without it.” The message tells you which side disagrees.
  2. Identify the declaring client. The channel exception is logged server-side. Cross-reference the timestamp with the connection that hit it using the management API (GET /api/connections, look at user, peer_host, and client_properties). In most incidents it is one service, one version, or one freshly deployed instance.
  3. Compare against the stored definition. Run the list_queues ... arguments check above and diff it against the client’s declare call. Remember the policy exception: if a policy applies the argument, clients omitting it are fine, and the mismatch is coming from a client that sends a conflicting value.
  4. Decide which definition is authoritative. Usually the running queue with live messages is authoritative and the code is wrong. Sometimes the queue is a leftover from an old configuration and the new code is intended. This decision determines the fix path below.
  5. Check the blast radius. Look at channel and connection churn rates. A single misdeclaring client in a retry loop can generate thousands of connection attempts per hour and show up as an unrelated-looking “connection storm.”

Metrics and signals to monitor

There is no broker metric for PRECONDITION_FAILED itself. Channel and connection protocol errors are visible only in the RabbitMQ log, so log-based detection is the primary signal. The secondary signals are the churn the failure causes.

SignalWhy it mattersWarning sign
Broker log: PRECONDITION_FAILED linesThe only direct record of the exception, including the argument and valuesAny occurrence outside a planned migration
Channel churn rate (churn_rates.channel_created / channel_closed)Each failed declare kills a channel; retry loops inflate churnCreation rate sustained well above the rolling baseline
Connection churn rateMany client libraries drop the whole connection on a channel exceptionConnection creation spikes correlated with deploys
Queue churn (queue_declared vs queue_created)A failed declare closes the channel before the queue is created, so queue_created does not climb even if queue_declared doesDeclared rate climbing while created rate stays flat and no new queues appear
Consumer count on the affected queueA consumer stuck in declare-fail-reconnect is not consumingConsumers below expected count while queue depth grows

Fixes

Make the client match the existing queue

The zero-data-loss fix. Update the declaring code so every property matches the stored definition: same durability, same arguments. Redeploy. This is correct when the queue holds messages you need and its current definition is the intended one.

Tradeoff: during rolling deployments you will run mixed client versions. If only some instances are updated, the old ones still throw 406 until they are replaced. That is transient and harmless as long as updated instances carry the traffic.

Recreate the queue with the new properties

The only way to change a queue’s immutable properties is to delete it and let clients redeclare it. This is destructive: deleting a queue discards every message in it. Drain it first (let consumers catch up, or shovel messages elsewhere), stop publishers if possible, then:

# DESTRUCTIVE: deletes the queue and all messages in it
rabbitmqadmin delete queue name=email.queue --vhost=Email

Then redeploy the clients with the new declaration. During the gap between deletion and the first successful declare, publishers may get unroutable messages; if publishers use mandatory=true they will see returns instead of silent loss.

Move arguments into policies, out of client code

For arguments RabbitMQ supports via policy (TTL, max-length, dead-lettering, queue type), declare them operator-side and have clients declare the bare queue. Policies can be changed without touching the queue or the clients, and because policy-applied arguments are exempt from the equivalence check, clients that omit them never trigger 406. This is the durable fix for “every service declares the same queue slightly differently.”

Tradeoff: a policy change applies to all matching queues, and applying a policy to many queues at once causes a CPU burst as the broker reconfigures them. Apply during low traffic on large deployments.

Classic to quorum migration specifics

This is the most common modern source of the error. Useful escape hatches, all version-dependent:

  • quorum_queue.property_equivalence.relaxed_checks_on_redeclaration = true in rabbitmq.conf (available since 3.11.16) makes the broker ignore x-queue-type during equivalence checks. This lets un-updated clients redeclare a queue that was converted to quorum without hitting 406. It is a migration bridge, not a permanent posture.
  • default_queue_type makes queues declared without an explicit type default to quorum, so old clients create new queues of the right type automatically. Set it per virtual host with rabbitmqctl set_parameter -p <vhost> default_queue_type quorum (introduced in 3.13) or node-wide with default_queue_type = quorum in rabbitmq.conf (since 3.13.3). Both settings can be enabled together during migration; test the combined behavior in your environment before relying on it in production.
  • Incompatible arguments must be cleaned up in code. Quorum queues do not support exclusive queues, and their queue length overflow only supports drop-head and reject-publish (not x-overflow: reject-publish-dlx, which falls back to drop-head with a logged warning). Classic-only arguments such as x-max-priority, x-queue-mode, and x-queue-version are rejected when declared on a quorum queue (invalid arg ... of queue type quorum). Remove them from client declarations before or during migration.
  • x-consumer-timeout joined the quorum queue equivalence check in RabbitMQ 4.3: redeclaring a quorum queue with a different hardcoded value can raise 406. It was not compared in 3.x through 4.2, and values applied only via policy are still exempt — set it via policy and clients that omit it will not trip the check.
  • One behavioral surprise after migration: redeclaring a quorum queue does not renew its x-expires lease the way classic queues did. A quorum queue with queue TTL can be deleted even if clients periodically redeclare it. The RabbitMQ quorum queue feature matrix documents this as partial support: the lease is not renewed on queue re-declaration.

Do not rapidly flip a queue’s type back and forth; there is a known race where rapid redeclaration with changing x-queue-type causes internal errors for live publishers. Migrate deliberately, once.

Prevention

  • Declare queues identically everywhere, or nowhere. Either centralize queue definitions in one component (provisioning tooling, Terraform, a topology operator), or standardize the declare call in a shared library. The failure mode is always two sources of truth.
  • Prefer policies over client arguments for anything you might want to change later. Policies are the only way to change TTL, max-length, or DLX behavior without recreating the queue.
  • Gate migrations on the declare path. When switching queue types, inventory every client that declares the affected queues before converting anything. The 406 will find the ones you missed, in production, at deploy time.
  • Alert on the log pattern. PRECONDITION_FAILED in the broker log should page during a migration window and ticket at any other time. It never self-resolves.
  • Watch channel churn after deploys. A post-deploy spike in channel churn with no obvious cause is often a declaration mismatch in the new build.

How Netdata helps

  • Netdata collects RabbitMQ object and churn rates (connections, channels, queues created and declared) from the management API, so a declare-fail-reconnect loop shows up as a channel churn anomaly you can correlate with deploy timing.
  • Per-queue metrics (messages ready, unacknowledged, consumers) show the downstream effect: a queue whose consumers are stuck in the 406 retry loop starts accumulating messages while its consumer count reads zero or flaps.
  • Connection count and churn trends let you distinguish a single misdeclaring client (churn spike, stable total) from a genuine connection storm.
  • Because Netdata keeps per-second history, you can line up the exact minute a new client version rolled out with the first churn spike and confirm the causal deploy before rolling back.
  • The 406 line itself still requires log collection; pairing log alerts on PRECONDITION_FAILED with Netdata’s churn and queue-depth charts gives you both the cause and the effect on one timeline.