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 / zfs / zfs-pool-history-audit ▌

Operations Guides

ZFS pool history: the forensic log almost nobody watches

Every ZFS pool keeps a built-in audit log. Every property change, every snapshot creation and destruction, every import, export, key operation, and delegation change is recorded by zpool history, with timestamps, and with the user and hostname if you ask for them. Almost nobody monitors it.

This is a problem in two directions. Forensically, when something goes wrong (a dataset destroyed at 3 a.m., sync suddenly disabled on a database dataset, a pool exported that nobody admits to exporting) the answers were in the history all along, often already rotated out by the time anyone looks. On the security side, mass snapshot destruction is exactly what ransomware or an attacker covering tracks looks like, and an unauthorised sync=disabled or delegation change is a privilege escalation signal. Both are visible in one place, and that place is not wired into anything by default.

This article covers what zpool history actually is mechanically, what it does and does not record, the ring-buffer limits that silently eat your evidence, and how to turn it into a monitored, off-box audit trail.

What it is and why it matters

zpool history is not a log file. It is a DMU object stored in the pool’s metadata (the MOS), written transactionally as part of the same copy-on-write model as everything else in ZFS. ZFS automatically logs every successful zfs and zpool command that modifies pool state. That includes:

  • Property changes (zfs set, zpool set)
  • Snapshot and dataset creation, destruction, and rollback
  • Pool imports and exports
  • Encryption key load, unload, and change operations
  • Delegation changes (zfs allow / zfs unallow)
  • Surprisingly, zfs send, which is read-only but still recorded

Because the history is pool metadata, it is checksummed and protected like any other ZFS metadata. An attacker who wants to erase it needs pool-level write access, at which point you have bigger problems. But there is a subtler integrity issue: the buffer is finite, it rotates, and on busy pools it rotates fast. The tampering you should worry about is not deletion. It is your own snapshot automation flushing the evidence out of the buffer before an incident.

How it works: the ring buffer

The history is implemented as a ring buffer whose size is computed once, at pool creation:

  • 0.1% of pool space at creation time
  • Capped at 1 GB
  • Floored at 128 KB

Three consequences follow, and all three bite operators in practice:

  1. The size never recalculates. If you create a small pool and later expand it (vdev additions, larger replacement disks), the history buffer stays at its original size. A pool that grew from 2 TB to 80 TB still has the buffer it was born with.
  2. Old records are overwritten silently. The history object tracks how many records were lost to rotation, but the counter is exposed by zdb internals, not by normal zpool history output. disappears with no event, no error, and no log line.
  3. The zpool create record is never overwritten. The buffer preserves the creation record permanently; everything after it is fair game for eviction.

The viewing flags matter for forensics:

# Default view: commands and timestamps
zpool history tank

# Long format: adds user name, hostname, and zone
zpool history -l tank

# Internal events: adds internally logged ZFS events
# (txg changes, feature enables, pool opens/imports)
zpool history -i tank

The -l flag is the one that turns history from a list of commands into an audit trail: it answers “who” and “from where”, not just “what”. The -i flag reveals internally logged events that the default view does not show; there are reports of pools where the plain view appears to show only recent import/export cycles while -i still shows the full history back to creation. If the default view looks suspiciously short, check -i before concluding records were lost.

flowchart LR
  A[Admin runs zfs or zpool command] --> B[History ring buffer in pool MOS]
  B --> C[history_event generated]
  C --> D[ZED event daemon]
  D -->|default zed.rc: subclass excluded| E[Nothing reaches syslog]
  D -->|exclusion removed| F[syslog or journal]
  F --> G[Off-box log store]
  B -.->|buffer full: oldest records overwritten| H[Evidence lost silently]

The snapshot noise problem

This is the gotcha that makes naive reliance on zpool history fail exactly when you need it.

Automated snapshot tooling (sanoid, zfs-auto-snapshot, cron jobs, replication systems) creates and destroys snapshots constantly, and every one of those operations is a history record. In one documented case on a large pool, 99.8% of roughly 670,000 history entries were snapshot create/destroy operations; barely 1,400 entries were anything else. On a pool with a small creation-time buffer and aggressive snapshot scheduling, meaningful events (property changes, exports, key operations, vdev changes) are pushed out of the ring buffer by pure churn.

There is an open OpenZFS feature request (issue #13374, open since 2022) for a separate low-churn event buffer so meaningful events survive snapshot noise. As of now there is no merged fix. There is also no zpool history --clear or pruning command of any kind: the history is an immutable transactional part of pool metadata. The only way to get a clean history is to create a new pool and migrate via send/receive.

Practical implications:

  • Do not treat on-box history as your retention mechanism. Treat it as a convenience cache of recent events. Your real audit trail has to live off-box.
  • Ship events as they happen, not by polling. By the time a daily zpool history scrape runs, the record you needed may already be rotated out on a churny pool.
  • Filter for signal, not volume. The events that matter for change control and security are a tiny minority: set, destroy, rollback, export, import, key, allow, unallow, offline, online, replace, clear.

The ZED default that hides everything

ZED (the ZFS Event Daemon) can forward pool events to syslog, and history records generate a history_event subclass. But the shipped default in /etc/zfs/zed.d/zed.rc is:

# Default: history events are excluded from syslog
ZED_SYSLOG_SUBCLASS_EXCLUDE="history_event"

That single line is why most operators have never seen a pool administrative action in their logs. The events are generated, ZED sees them, and ZED deliberately drops them before they reach syslog. If your audit trail strategy is “ZFS stuff goes to the log server like everything else”, it does not, by default.

To fix it, edit zed.rc and remove history_event from the exclusion (or comment the line out), then restart ZED. From that point, every recorded administrative action flows into syslog, where your existing log shipping (rsyslog, journald forwarding, an agent) can carry it off-box. Restarting ZED is safe on a live pool; it does not touch pool state, only event handling. Be aware of the volume tradeoff on snapshot-heavy pools: filter snapshot create/destroy at the syslog or pipeline layer rather than at ZED, so the off-box store keeps the meaningful minority without paying for the churn.

What to look for: the forensic queries

These are the searches worth being able to run cold, at 3 a.m., without thinking. All are read-only.

# Snapshot and dataset lifecycle: who destroyed what, and when
zpool history -l tank | grep -E "snapshot|destroy|rollback" | tail -20

# Property changes: sync=disabled, compression, mountpoint, shares, readonly
zpool history -l tank | grep "set " | tail -20

# Import and export activity
zpool history -l tank | grep -E "export|import" | tail -10

# Encryption key operations
zpool history -l tank | grep -i key | tail -10

# Delegation changes (privilege escalation vector)
zfs allow tank
zpool history -l tank | grep "allow\|unallow"

What each pattern catches:

  • Mass snapshot destruction. Some bulk deletions are legitimate (retention pruning, replication cleanup), which is why this is a ticket-level signal, not a page. But a burst of destroys outside the scheduled window, especially from an unexpected user in the -l output, is what ransomware covering its tracks looks like.
  • sync=disabled appearing. Removing synchronous write semantics is a performance “optimisation” that sacrifices crash consistency. It is also what an attacker optimising for exfiltration speed might do, and what a well-meaning engineer does without telling anyone. Either way you want to know immediately. Never accept sync=disabled on database datasets as a standing rule.
  • Unexpected exports. An export outside maintenance means either an operational accident or someone preparing to import the pool elsewhere. In multihost or shared-storage environments, unexpected imports must be verified against MMP expectations.
  • Key operations and delegation changes. A key load making an encrypted dataset accessible, or a zfs allow granting destroy/send/mount permissions to a new principal, are both privilege-boundary events. They should map one-to-one to change tickets. Any that do not are an incident.

Where this fits in a monitoring practice

Teams usually get capacity, scrub, and ARC monitoring in place and never reach the audit layer. The cost of adding it is low, because the mechanism already exists. You are not instrumenting anything new; you are removing one exclusion line and shipping a stream you already generate.

A workable setup:

  1. Remove the ZED exclusion for history_event in /etc/zfs/zed.d/zed.rc and restart ZED.
  2. Forward syslog or journal off-box with whatever log pipeline you already run. On-box history is a cache; the log store is the record.
  3. Alert on the meaningful minority. Ticket on: any set on security-relevant properties, destroys outside the snapshot-pruning window, any export, any key operation, any allow/unallow. These are ticket-severity rather than page-severity in a generic setup, because legitimate automation does some of them routinely; page only when you have change-control integration to compare against.
  4. Baseline snapshot churn per pool. Knowing the normal create/destroy rate makes an anomalous burst of destroys stand out instead of blending in.
  5. Know your buffer size. A pool created small and grown large may hold only hours of history under snapshot churn. That tells you how stale a polled scrape is allowed to be, and it is usually “not at all”.

Signals to watch in production

SignalWhy it mattersWarning sign
history_event stream reaching the log storeConfirms the audit path is alive end to endEvents stop arriving while the pool is healthy and administered
Property-change events (zfs set, zpool set)Direct change-control record; catches sync=disabled, share, and mountpoint changesAny change without a matching change ticket
Snapshot destroy rate vs baselineMass destruction is the ransomware-covering-tracks patternBurst of destroys outside the pruning window or from an unexpected user
Export/import eventsExports precede offline exfiltration; imports matter in multihost/MMP setupsAny export outside maintenance; any import from an unexpected host
Key load/unload/change eventsKey loads make encrypted data accessibleKey operations with no authorised maintenance
Delegation changes (allow/unallow)Privilege escalation vector that grants destroy/send/mount rightsNew delegations to unexpected users
History freshness vs churnSmall ring buffer plus snapshot noise means fast evidence rotationMeaningful events older than hours already gone from zpool history

How Netdata helps

  • Netdata’s ZFS collectors already surface the operational side of the same story: pool health state, capacity, per-vdev error counters, and scrub status, so a history event like a zpool clear, replace, or offline can be correlated against the state change it produced.
  • Capacity and snapshot-space trending gives the “before” picture when history shows a mass snapshot destruction: you can see whether the destroy freed the space someone claimed it would, or whether a freeing backlog is still being reclaimed.
  • Because history events arrive through syslog once the ZED exclusion is removed, they land in the same timeline as the rest of the node’s metrics, which is what makes “someone disabled sync at 14:03 and the database corruption report came at 14:40” a five-minute correlation instead of a week-long archaeology project.
  • Alerting on pool state transitions (ONLINE to DEGRADED, unexpected exports affecting availability) closes the loop: the metric alert tells you something changed, and the shipped history tells you whether a human changed it.