Netdata is an open-source, real-time monitoring agent that collects thousands of system and application metrics at one-second resolution, stores them locally and presents them in interactive dashboards with built-in alerting. Within monitoring & logs for servers, it occupies the niche of high-resolution, low-configuration observability: it is installed on each host, discovers running services automatically and begins charting them within minutes.
The agent is written mainly in C, runs on Linux, FreeBSD, macOS and Windows, and can operate standalone, stream data to central parent nodes or connect to the optional Netdata Cloud service for a unified view of many hosts. It focuses on metrics rather than log management, although recent versions can also browse systemd journal logs.
How the Netdata agent collects and stores metrics
Netdata works by running a lightweight daemon on every monitored host that polls data sources every second. Internal collectors read kernel interfaces such as /proc and /sys, while plugins written in Go and other languages query services like NGINX, MySQL, PostgreSQL, Redis and Docker through their status endpoints. Auto-discovery detects many of these services without manual configuration.
Collected values go into the dbengine time-series database, which keeps recent data in memory and writes compressed pages to disk. Data is organized in tiers of decreasing resolution: per-second samples for recent days, then per-minute and per-hour aggregates for longer periods. Retention therefore depends on the disk space assigned to each tier rather than on a fixed number of days.
The following table summarizes the main architectural components.
| Component | Function | Where it runs |
|---|---|---|
| Agent | Collects, stores and serves metrics | Every monitored host |
| Collectors and plugins | Read data from the system and services | Inside or beside the agent |
| Dbengine | Tiered, compressed metric storage | Local disk of the agent |
| Health engine | Evaluates alert rules continuously | Every agent or parent |
| Parent node | Receives streamed metrics from child agents | Central server |
| Netdata Cloud | Optional unified view and notification routing | Hosted service |
Alerting, anomaly detection and streaming
Netdata ships with hundreds of preconfigured alert definitions covering CPU saturation, disk space, network errors, memory pressure and common service failures. Rules are written in a declarative format in the health.d directory and use warning and critical thresholds evaluated against rolling averages, which reduces noise from single-sample spikes.
A distinctive feature is built-in machine learning anomaly detection. The agent trains lightweight models for each metric on recent history and flags samples that deviate from learned behavior, producing an anomaly rate per chart. This helps operators find unusual metrics during an incident without knowing in advance which ones to inspect, although anomalies indicate deviation, not necessarily a fault.
For larger estates, agents can stream metrics to parent nodes, which centralize storage, alerting and dashboards. Children can then run with minimal local retention, which suits small virtual machines, containers and IoT devices with limited disk.
The table below compares the main deployment patterns.
| Pattern | Best suited for | Main trade-off |
|---|---|---|
| Standalone agent | Single server or small lab | No central view across hosts |
| Parent and children | Fleets inside one network | Parents need more memory and disk |
| Agents with Netdata Cloud | Distributed teams and many sites | Depends on an external service |
| Export to Prometheus | Existing Prometheus and Grafana stacks | Duplicate storage and configuration |
Netdata compared with other monitoring tools
Netdata differs from classic monitoring systems mainly in resolution, setup effort and storage model. Tools such as Nagios and Zabbix grew around status checks and centrally polled metrics, typically at intervals of 30 to 60 seconds. Netdata favors distributed collection with per-second granularity and dashboards generated automatically for every discovered metric.
The comparison below highlights the practical differences with frequently mentioned neighbors.
| Tool | Primary focus | Typical resolution | Configuration effort |
|---|---|---|---|
| Netdata | Real-time host and service metrics | 1 second | Low, auto-discovery |
| Zabbix | Centralized metrics and alerting | 30 to 60 seconds | Moderate to high |
| Nagios | Service and host status checks | 1 to 5 minutes | High, plugin based |
| Prometheus | Pull-based metrics and querying | 15 to 60 seconds | Moderate |
| ELK stack | Log aggregation and search | Event based | High |
These tools are often combined rather than substituted. A common arrangement uses Netdata for live troubleshooting, a log aggregation platform such as Graylog or the ELK stack for events, and uptime monitoring for external availability checks.
Practical use and resource overhead
Netdata is most useful during live incident investigation, when per-second charts reveal short bursts that minute-level averages hide, such as a ten-second disk I/O stall or a brief spike in TCP retransmissions. Administrators also use it to validate load tests with tools like k6 or Apache JMeter, observing CPU, memory and connection counts while the test runs.
Resource consumption is modest but not zero. On a typical server, the agent uses a few percent of one CPU core and roughly 100 to 300 MB of memory, depending on the number of metrics, retention settings and whether machine learning is enabled. Disabling unused collectors or ML on very small hosts lowers this further.
- Restrict dashboard access by binding the web interface to localhost or placing it behind an authenticated reverse proxy.
- Tune retention per tier to match available disk rather than accepting defaults blindly.
- Review alert defaults and silence those irrelevant to the workload to prevent alert fatigue.
- Use parents for fleets so that short-lived or small nodes do not need long local history.
Limitations and common mistakes
Netdata is not a complete observability platform by itself. Its log features are limited compared with dedicated log systems, distributed tracing is outside its scope, and long-term capacity planning over years is better served by downsampled central storage. Teams should plan which questions each tool answers before deployment.
The table below lists recurring problems and their remedies.
| Symptom | Likely cause | Fix |
|---|---|---|
| Dashboard reachable from the internet | Default port 19999 left open | Firewall or bind to localhost |
| History shorter than expected | Small dbengine tier sizes | Increase disk allocation per tier |
| Too many notifications | Unreviewed default alerts | Adjust thresholds or disable rules |
| Service not charted | Status endpoint not enabled | Enable the endpoint and restart |
| Agent memory grows on small VMs | ML and many metrics enabled | Disable ML or stream to a parent |
Licensing also deserves attention. The agent itself is released under the GPLv3 license, while some newer dashboard components and the cloud service follow different terms, so organizations with strict open-source policies should verify the license of each component they deploy.
Stripped to the essentials
Netdata is like a heart-rate monitor for a computer. It sits on the machine, checks hundreds of vital signs every single second and draws them as live graphs that anyone with access can open in a web browser.
Because it looks so often, it catches short hiccups that slower tools miss. It also raises an alarm when something crosses a danger line, such as a disk that is almost full. In short, Netdata shows what a server is doing right now, in great detail, with very little setup.
Where it is applied
A small hosting provider runs 40 Linux servers that host customer websites. Customers occasionally report pages that hang for a few seconds, yet the existing monitoring, which samples every minute, shows nothing unusual. The administrators install the Netdata agent on every host and stream all metrics to two parent nodes in the data center.
Within a day, the per-second charts on one server reveal disk I/O wait spikes of eight to twelve seconds every hour, matching the reported hangs. The anomaly rate points to a backup job that saturates the shared storage volume. After the team moves the backup to a throttled schedule, the spikes disappear, and a new alert on I/O wait above 30 percent for ten seconds now warns them if the pattern returns.