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 / smartctl-disk-monitoring / smartctl-reallocated-sectors ▌

Operations Guides

Reallocated_Sector_Ct rising: the drive is burning through its spare pool

When smartctl -A shows Reallocated_Sector_Ct (SMART attribute ID 5) climbing, the drive firmware is silently remapping sectors that have become unreliable. Each reallocation consumes a sector or block from a finite spare pool reserved at the factory. Once that pool is exhausted, the next bad sector becomes an uncorrectable read error. Data loss follows.

The absolute count tells you less than the rate of change. A drive with 10 reallocated sectors that has been stable for 3 years is operating within its tolerances. A drive that gained 10 reallocated sectors in the last week is actively failing.

What this means

Reallocated_Sector_Ct counts sectors (HDD) or NAND blocks (SSD) that the drive firmware has permanently retired and replaced with spares. The remapping is transparent to the host operating system. You never see the original bad location, only the incremented counter in SMART output.

The drive maintains three internal structures relevant to this attribute:

  • Spare pool: finite reserve capacity used for remapping. Its size varies by drive model and is rarely exposed directly.
  • Pending list: sectors flagged as unstable during reads that have not yet been remapped (attribute ID 197).
  • Defect list: sectors already remapped (reflected in the reallocated count).

The spare pool degrades on a cliff-edge curve. The drive operates normally while spares are available. When the last spare is consumed, there is no graceful degradation. The next defect is an uncorrectable error with no remaining capacity to remap it.

flowchart TD
    A["Sector fails read or write"] --> B["Firmware attempts recovery"]
    B -->|"Recovered via ECC"| C["Sector remains in service"]
    B -->|"Unrecoverable"| D["Remap from spare pool"]
    D --> E["ID 5 Reallocated_Sector_Ct increments"]
    D --> F["ID 196 Reallocated_Event_Count increments"]
    E --> G{"Spare capacity remaining?"}
    G -->|"Yes"| H["Drive continues operating"]
    G -->|"No"| I["Next defect = permanent data loss"]

Common causes

CauseWhat it looks likeFirst thing to check
Progressive platter surface degradation (HDD)Slow steady increase in ID 5 over weeks or months; ID 197 may also be non-zerosmartctl -l error for UNC errors at specific LBAs
NAND cell wear-out (SSD)ID 5 rising alongside declining wear leveling count or NVMe Percentage Used approaching 100%Check vendor wear attributes (Samsung ID 177, Intel ID 233, NVMe Percentage Used)
Head crash aftermath (HDD)Sudden large jump in reallocated count after a physical eventCorrelate with G-Sense Error Rate (ID 221 or 191) and dmesg I/O errors
Thermal damage to mediaReallocated sectors appearing alongside sustained high temperatureCheck ID 194 temperature and SCT temperature history with smartctl -l scttemp

Quick checks

All commands are read-only and safe on a production system.

# Check reallocated, pending, uncorrectable, and event counts together
smartctl -A /dev/sdX | grep -iE "Reallocated|Current_Pending|Offline_Uncorrectable|Reallocated_Event"

# Full attribute table with normalized values
smartctl -a /dev/sdX

# Overall health self-assessment
smartctl -H /dev/sdX

# Error log for UNC errors with affected LBAs
smartctl -l error /dev/sdX

# Extended error log for more entries than the summary log
smartctl -l xerror /dev/sdX

# Self-test results and history
smartctl -l selftest /dev/sdX

# I/O latency correlation (watch the await column)
iostat -x 1

# Kernel I/O errors, resets, and timeouts for this device
dmesg | grep -iE "I/O error|medium error|reset|timeout" | tail -20

How to diagnose it

1. Capture a full SMART snapshot.

Run smartctl -a /dev/sdX and save the output. This is your working baseline. Compare it against any previous snapshot from your monitoring system or deployment records.

2. Determine the rate of change.

This is the single most important step. If you have monitoring history, plot the reallocated count over time. When did the count start increasing, and is the rate accelerating?

  • Stable for months: The drive contained a defect, possibly from manufacturing, and has been operating fine. TICKET severity. Monitor for growth.
  • Increasing over days or weeks: Active degradation. The drive is consuming spares at a rate that indicates progressive failure.
  • Sudden large jump: Likely a physical event such as a head crash, shock, or power surge. Investigate G-Sense Error Rate and kernel logs for correlated events.

3. Check for the Seagate raw-value encoding gotcha.

Seagate drives encode some SMART attributes differently than other manufacturers. The raw value field can pack multiple sub-fields together, producing enormous numbers that look alarming but represent normal operation. If the normalized VALUE column is at 100 (or 200) and stable, but the raw value looks absurdly large, suspect encoding rather than actual sector failure.

For Seagate IronWolf HDDs with SC60 firmware, smartmontools 7.4 and 7.5 do not define a special attribute-5 override in drivedb.h; the default ATA profile applies raw16(raw16),Reallocated_Sector_Ct. Do not assume that SC60 uses a special 48-bit mixed counter. Use the normalized value together with IDs 196, 197, and 198, and compare raw values only against the same model and firmware.

4. Correlate with companion attributes.

The decision to escalate depends on what the companion attributes show alongside the rising reallocated count:

AttributeWhat to checkInterpretation
ID 197 (Current_Pending_Sector)Is it non-zero?Non-zero means the drive has sectors it cannot reliably read that have not yet been remapped. These are candidates for future reallocation or permanent data loss.
ID 196 (Reallocated_Event_Count)Is it rising?Counts reallocation events, which may differ from the sector count if multiple sectors were reallocated in one event. A high 196 with a low 5 can indicate many failed reallocation attempts.
ID 198 (Offline_Uncorrectable)Is it increasing from baseline?Confirmed data loss at the sector level. The drive tried to recover the data and failed.
SMART Overall HealthIs it FAILED?The drive firmware itself considers a pre-fail attribute to have crossed its vendor-defined threshold.

5. Run an extended self-test.

# Start an extended self-test (takes hours on large HDDs, impacts I/O performance)
smartctl -t long /dev/sdX

After completion, check results with smartctl -l selftest /dev/sdX. A result of “Completed: read failure” at a specific LBA confirms a media defect the drive found during proactive scanning. “Completed without error” provides strong evidence of media integrity for the tested region.

6. Check host-level I/O latency.

Use iostat -x 1 and look for high await values on the suspect drive. When the drive retries reads on failing or pending sectors, individual I/O operations hang for seconds. This manifests as high iowait with low CPU utilization, a pattern often misdiagnosed as a software or network issue. If you see this alongside non-zero pending or reallocated sectors, the drive is already impacting production I/O.

When to page

PAGE severity for rising reallocated sectors requires all of the following conditions simultaneously:

  1. Reallocated sectors increased by 5 or more in a 24-hour window.
  2. Current Pending Sectors (ID 197) is non-zero sustained across at least 2 consecutive polls.
  3. At least one corroborating hard-failure signal:
    • Offline Uncorrectable (ID 198) also increased, OR
    • Self-test completed with read failure, OR
    • SMART Overall Health is FAILED.

This multi-condition requirement prevents false pages from isolated reallocation events. A single sector reallocation, even on a production drive, does not warrant waking someone at 3 a.m. The combination of rising reallocation plus sustained pending sectors plus a hard-failure corroboration confirms active multi-signal media failure.

Any non-zero reallocated count that does not meet the PAGE criteria is a TICKET: investigate and begin replacement planning.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Reallocated_Sector_Ct (ID 5) raw valueTracks spare pool consumption directlyAny increase from previous reading
Reallocated_Sector_Ct (ID 5) normalized VALUEManufacturer health assessment on a vendor-specific scaleDeclining toward the THRESH column value
Current_Pending_Sector (ID 197)Sectors failing reads but not yet remappedAny non-zero value sustained across polls
Offline_Uncorrectable (ID 198)Confirmed unrecoverable data at the sector levelAny increase from baseline
Reallocated_Event_Count (ID 196)Counts reallocation attempts including failuresRising faster than ID 5, suggesting failed remapping
SMART Overall HealthDrive firmware binary pass or failFAILED
I/O latency (await in iostat)Host-visible impact of drive retry loopsawait in seconds with high iowait and low CPU
ATA Error LogDetailed error events with specific LBAsUNC errors at specific LBAs
Self-test resultsProactive surface scan findings“Completed: read failure” with a reported LBA

Fixes

Replace the drive

This is the only real fix for a drive with a rising reallocated count. The spare pool does not regenerate. Once sectors are being remapped at an accelerating rate, the drive is on a failure trajectory that will end in data loss if not addressed.

For drives in a RAID array, initiate a controlled replacement (add hot spare, trigger rebuild) now rather than waiting for an uncontrolled failure during peak traffic. A RAID rebuild is sustained sequential write pressure on the replacement drive, so watch SMART attributes closely during the first 24 to 48 hours. If the new drive has a latent defect, the rebuild will surface it.

Force reallocation of pending sectors (temporary measure, not a fix)

If the drive has pending sectors (ID 197 non-zero) causing I/O latency stalls but the reallocated count is still manageable, you can force the drive to attempt reallocation by writing to the affected sectors. The smartmontools BadBlockHowto documents the canonical procedure: identify the LBA from the self-test log or error log, calculate the corresponding filesystem block, and write to that block using dd or hdparm --write-sector.

Warning: This is destructive. It overwrites the data at the target LBA. The write triggers the drive to attempt reallocation, which consumes another spare sector. This buys time for a planned replacement but accelerates spare pool consumption. It does not fix the underlying media degradation.

Investigate cable issues before replacing

If UDMA CRC Error Count (ID 199) is also rising alongside the reallocated count, part of the problem may be the cable or backplane, not the drive alone. CRC errors can cause phantom pending sectors: the data transfer fails on the wire, so the drive marks the sector as suspect even though the on-disk data is intact. Fix the cable first (reseat, then replace with a known-good cable), then re-evaluate whether reallocated and pending sectors continue to grow.

The distinguishing pattern: CRC errors rising with zero media errors (IDs 5, 197, 198 all clean) points to the transport layer. CRC errors rising alongside media errors means both problems coexist.

Prevention

  • Baseline every drive at deployment. Capture a full smartctl -a snapshot when the drive is installed. Some drives ship with a small number of reallocated sectors from factory provisioning. Without a baseline, you cannot distinguish factory defects from production failures.
  • Track rate of change, not just absolute values. A monitoring system that alerts on “ID 5 greater than 0” will fire on every drive that shipped with a minor factory defect. Alert on growth from the previous reading instead.
  • Schedule extended self-tests. Drives do not run self-tests automatically. Without periodic extended tests, latent bad sectors remain hidden until production I/O hits them. Weekly short tests and monthly long tests are standard practice.
  • Do not rely on SMART PASSED alone. A drive can report PASSED while having dozens of reallocated sectors and non-zero pending sectors. Manufacturer thresholds are conservative. By the time SMART says FAILED, the drive has been dying for weeks.
  • Watch for the attribute zeroing trick. Manufacturer diagnostics and some tools can force sector reallocation, which resets Current Pending Sector (ID 197) to zero. The drive looks healthier, but Reallocated Sector Count (ID 5) will have increased. Monitoring only ID 197 misses this pattern.
  • Account for first-observation bootstrap. When deploying SMART monitoring on an existing fleet for the first time, every drive with any history will have non-zero cumulative counters. The monitoring system must establish a baseline on first scrape and alert on growth from that point, not on the absolute value. Paging on lifetime values at first deployment floods operators with false alarms.

How Netdata helps

Netdata’s smartctl collector surfaces SMART attributes at per-second granularity, which directly supports the rate-of-change analysis this diagnosis depends on:

  • Rate-of-change tracking: Netdata stores attribute values over time, so you can see whether reallocated sectors are stable or accelerating without manually diffing snapshots between polls.
  • Multi-signal correlation on one timeline: The dashboard places ID 5, ID 196, ID 197, and ID 198 side by side, making the PAGE condition (rising reallocated plus non-zero pending plus a hard-failure corroboration) visible at a glance rather than requiring four separate queries.
  • ML anomaly detection on SMART trends: Netdata’s anomaly advisor flags unusual changes in attribute trends before they cross hard thresholds, which catches the slow steady increase that absolute-value alerting misses.
  • Host-level I/O metrics alongside SMART data: Netdata collects per-disk I/O latency, queue depth, and iowait on the same timeline as SMART attributes, so you can correlate the retry-loop pattern (high await, low CPU, rising pending sectors) in a single view.
  • Baseline management for fleet-wide deployment: On first deployment, Netdata establishes per-drive baselines and can alert on growth rather than absolute lifetime values, preventing the alert storm that occurs when monitoring is first enabled across an existing fleet.