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 / postfix / postfix-mail-flow-injection-vs-delivery ▌

Operations Guides

Postfix mail flow: injection rate outpacing delivery rate

The queue is growing, delivery latency is climbing, and the gap between what Postfix accepts and what it delivers is sustained. This divergence surfaces before queue-depth alerts fire.

Injection rate and delivery rate should track within about 10% over any 5-minute window. When they diverge consistently, the outbound path is constrained. The constraint might be a single slow destination monopolizing active queue slots, a DNS resolver failure silently deferring all deliveries, a content filter that has stopped responding, or destination-side rate limiting. Each cause has a distinct signature in the logs and queue directories.

For the broader Postfix architecture and queue model, see How Postfix actually works in production.

What this means

When injection rate exceeds delivery rate over a sustained window, the difference accumulates in the queue. Mail that cannot be delivered immediately enters the deferred queue and is retried with exponential backoff (up to maximal_backoff_time, default 4000 seconds, roughly 1.1 hours). If new mail keeps arriving faster than old mail can be retried and delivered, the queue grows until disk space or inodes are exhausted.

Velocity is the leading indicator. Queue depth is lagging. By the time the deferred queue is large enough to trigger a count-based alert, the underlying problem has been compounding for minutes or hours.

Two severity thresholds matter:

  • Injection greater than 0 with delivery equal to 0 for more than 10 minutes: Complete delivery failure. Page immediately.
  • Deferred ratio above 20% of injection: Significant delivery degradation. The system is delivering some mail, but a substantial fraction is failing and will enter the deferred retry cycle.

A healthy system maintains a deferred rate below 5% of total injection and an injection-to-delivery ratio near 1:1 over 5-minute windows.

Counting nuances that distort the ratio

Before trusting raw counts, understand four asymmetries in Postfix logging:

  • Multi-recipient mail counts once inbound but many times outbound. A message with 50 recipients generates one client= log line (injection) but up to 50 status=sent lines (delivery). A healthy list server may show delivery rate naturally exceeding injection rate.
  • Bounces inflate delivery counts. Bounce messages are sent from the null sender (<>) and their delivery produces status=sent lines. Double-bounces are typically discarded. Both inflate apparent delivery count.
  • Backup MX designs run injection far above delivery by design. A backup MX accepts mail it cannot deliver until the primary recovers. Do not alert on this pattern for backup MX instances.
  • Log rotation causes apparent velocity drops. If your monitoring reads /var/log/mail.log directly and the file rotates mid-window, rates drop to zero temporarily. Use journald or a log shipper that handles rotation.

The diagnostic flow below assumes you have accounted for these factors.

flowchart TD
    A[Injection > Delivery sustained] --> B{Delivery near zero?}
    B -->|Yes, over 10 min| C[Complete failure: page]
    B -->|No, degraded| D{All domains deferred?}
    C --> E{DNS resolves?}
    E -->|No| F[DNS failure]
    E -->|Yes| G{Filter responsive?}
    G -->|No| H[Filter backpressure]
    D -->|Yes| F
    D -->|Specific only| K{Active queue at limit?}
    K -->|Yes| L[Queue gridlock]
    K -->|No| M[Destination throttling]

Common causes

CauseWhat it looks likeFirst thing to check
Slow destination monopolizationActive queue near qmgr_message_active_limit, one or few domains dominate deferred entriesTop deferred domains from logs
DNS resolver failureAll destinations deferred with “Host not found” or “Name service error”, delivery near zeroManual DNS query from MTA host
Content filter or Milter backpressureIncoming queue growing, active queue small, filter processes unresponsive or at high memoryFilter process health and port connectivity
Destination rate limitingSpecific 4xx codes from major providers, deferred grows for those domains onlyDeferred reason codes in logs
Bounce storm self-sustainBounce rate spikes, maildrop queue active, many MAILER-DAEMON messages in queueBounce source addresses in logs

Quick checks

All commands are read-only and safe to run during an incident. The log file path varies by distribution: Debian and Ubuntu typically use /var/log/mail.log, while RHEL-family systems use /var/log/maillog. Adjust accordingly.

The timestamp-based grep approach below matches a single minute, not a rolling 5-minute window. For accurate rolling windows, use journalctl --since, a log analysis tool, or a monitoring system that parses logs continuously.

# Messages accepted (injection) in the specified minute
grep "$(date -d '5 minutes ago' '+%b %e %H:%M')" /var/log/mail.log | grep -c 'client='

# Messages delivered successfully
grep "$(date -d '5 minutes ago' '+%b %e %H:%M')" /var/log/mail.log | grep -c 'status=sent'

# Deferred messages
grep "$(date -d '5 minutes ago' '+%b %e %H:%M')" /var/log/mail.log | grep -c 'status=deferred'

# Bounced messages
grep "$(date -d '5 minutes ago' '+%b %e %H:%M')" /var/log/mail.log | grep -c 'status=bounced'

# Active queue size (use find: Postfix may hash queue files into subdirectories)
find /var/spool/postfix/active -type f | wc -l

# Deferred queue file count
find /var/spool/postfix/deferred -type f | wc -l

# Current active queue limit
postconf -h qmgr_message_active_limit

# Top deferred destination domains
grep 'status=deferred' /var/log/mail.log | awk -F'to=<|>,' '{print $2}' | cut -d@ -f2 | sort | uniq -c | sort -rn | head

# Test DNS resolution directly from the MTA host
dig @$(awk '/nameserver/ {print $2; exit}' /etc/resolv.conf) gmail.com MX

How to diagnose it

  1. Confirm the divergence. Count client= lines (injection) and status=sent lines (delivery) over the same time window. If delivery is zero and injection is nonzero for more than 10 minutes, treat it as a complete delivery failure and page.

  2. Check whether all destinations are affected or just specific ones. Run the top-deferred-domains command. If one or two domains dominate the deferred list, the problem is likely destination-specific: rate limiting, reputation, or that destination being down. If many domains are deferred equally, suspect DNS or a system-wide issue.

  3. Inspect the deferred reason codes. Look at the DSN codes and textual reasons in deferred log lines:

    # Show recent deferral reasons
    grep 'status=deferred' /var/log/mail.log | tail -20
    

    “Host not found” or “Name service error” points to DNS. “Connection timed out” points to network or firewall. “4.7.1” or similar rate-limit codes point to destination throttling.

  4. Check active queue saturation. Compare active queue file count to qmgr_message_active_limit (default 20,000). If the active queue is near the limit, the queue manager cannot schedule new deliveries regardless of destination health. This is the queue gridlock state: one slow destination occupies slots that starve all others.

  5. Test DNS from the MTA host. If all destinations are affected, run the dig command from the quick checks. If DNS queries fail or time out, the resolver is the bottleneck, not Postfix.

  6. Check content filter health. If the incoming queue is growing but the active queue is small, mail is accepted but not entering the delivery pipeline. Check whether your content filter (Amavis, Rspamd, ClamAV, or a Milter) is responsive:

    # Test filter port connectivity (example: Amavis on port 10024)
    nc -zv localhost 10024
    

    If the filter is unresponsive, mail piles up in the incoming queue before it ever reaches the active queue.

  7. Check for bounce storms. If bounce rate is high relative to injection, a backscatter or bounce self-sustain loop may be consuming delivery capacity. Look for MAILER-DAEMON senders dominating the queue:

    # Identify bounce sources
    grep 'status=bounced' /var/log/mail.log | head -20 | grep -o 'from=<[^>]*>' | sort | uniq -c
    

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Injection rate (client= count)Baseline for comparison; measures inbound acceptanceSudden drop suggests upstream blocking; spike suggests amplification
Delivery rate (status=sent count)Measures actual outbound successZero with nonzero injection for over 10 min is a complete failure
Deferred rate (status=deferred count)Failed delivery attempts entering retry cycleAbove 20% of injection indicates significant degradation
Active queue size vs qmgr_message_active_limitShows whether queue manager can schedule deliveriesAbove 80% of limit approaching gridlock
Deferred queue growth rateRate of accumulation vs retry successSustained positive growth over 4 hours is abnormal
Bounce rate (status=bounced count)Permanent failures, reputation riskAbove 5% or sudden 10x increase from baseline
DNS resolver latency and failure rateExplains “Host not found” deferralsQueries timing out or failing from MTA host

Fixes

Slow destination monopolization (queue gridlock)

When one destination consumes most active queue slots, other destinations are starved. The queue manager uses fair queueing, not priority queueing, so a single slow domain can block everything.

  1. Identify the consuming destination using the top-deferred-domains command.
  2. Temporarily reduce destination concurrency for that transport:
    # Reduce smtp delivery concurrency (disruptive: affects all smtp deliveries)
    postconf -e 'smtp_destination_concurrency_limit=2'
    postfix reload
    
  3. Emergency: hold mail for the problem domain to free active queue slots:
    # Find and hold mail to a specific domain
    # Disruptive: those messages stop delivery entirely until released
    # Slow on large queues; grep reads every deferred file
    # Queue files are plain text (header + content); grep -l works across Postfix versions
    find /var/spool/postfix/deferred -type f -exec grep -l '@problem.domain' {} \; | sed 's|.*/||' | postsuper -h -
    
    Release with postsuper -H ALL or postsuper -H queue_id after the destination recovers.

DNS resolver failure

  1. Test the resolver directly from the MTA host using dig or host against the configured nameserver.
  2. Check the resolver process:
    # Check resolver status
    systemctl status systemd-resolved
    pgrep -a named
    
  3. Add a fallback resolver to /etc/resolv.conf if the local resolver has failed, then run postfix reload.

Content filter or Milter backpressure

  1. Check filter process health: systemctl status amavisd or equivalent for your filter.
  2. Test the filter port directly with nc -zv.
  3. Emergency bypass (security tradeoff: accepts unfiltered mail):
    # DANGEROUS: disables all content filtering until reversed
    postconf -e 'content_filter='
    postfix reload
    
    Re-enable filtering as soon as the filter is healthy.

Bounce storm

  1. Identify the bounce source from log analysis using the command in diagnostic step 7.
  2. Tighten recipient restrictions if accepting mail for unknown recipients causes backscatter.
  3. Clear bounce queue carefully, verifying patterns before deletion:
    # DANGEROUS: verify the pattern matches only bounce messages before running
    # tr -d '*!' strips the active (*) and hold (!) indicators from queue IDs
    mailq | grep -E 'MAILER-DAEMON|double-bounce' | awk '{print $1}' | tr -d '*!' | postsuper -d -
    

What not to do

  • Do not flush the entire deferred queue with postqueue -f during congestion. This floods already-saturated destinations with retry attempts and makes the problem worse. The Postfix QSHAPE_README explicitly warns against this.
  • Do not restart Postfix as a first response. A restart triggers a full queue rescan that can be slow on large queues, and it loses in-memory queue manager state including retry timers and rate-limit counters. Use postfix reload for configuration changes.
  • Do not raise qmgr_message_active_limit blindly. Higher limits increase memory usage in the queue manager, which is single-threaded and not memory-efficient with large queues. Address the root cause of the bottleneck first.

Prevention

  • Monitor injection versus delivery velocity as a leading indicator. Alert when delivery equals 0 with injection above 0 for more than 10 minutes, and when the deferred ratio exceeds 20% of injection.
  • Track active queue utilization against qmgr_message_active_limit. Alert at 80% sustained.
  • Monitor the DNS resolver independently from Postfix. Resolver failure looks like slow mail, not an obvious error. Track resolver latency and failure rate as separate signals.
  • Track content filter response time, not just process liveness. Filter slowdown causes queue backup long before the process crashes.
  • Monitor queue filesystem inodes, not just disk space. Postfix creates one file per queued message. Inode exhaustion manifests as “No space left on device” even when df shows free space.
  • Monitor bounce rate explicitly. Bounces generate status=sent lines, making them invisible in simple delivery metrics. Track bounce rate as its own signal and alert above 1% sustained.

How Netdata helps

Netdata collects the signals that distinguish injection-versus-delivery problems and shortens the diagnostic path:

  • Per-second mail flow metrics show injection and delivery rates diverging in real time, before queue depth accumulates enough to trigger lagging alerts.
  • Queue depth breakdowns across incoming, active, and deferred directories show exactly where mail is piling up, distinguishing destination monopolization from filter backpressure.
  • DNS resolver latency and error rates are collected independently from Postfix, making it clear whether delivery failures stem from DNS rather than the MTA.
  • Content filter and Milter process metrics (memory, CPU, file descriptors) reveal filter degradation before it becomes a complete stop.
  • Anomaly detection on injection and delivery rates flags divergence from historical baselines even when absolute values look normal.