On this page
- What does Netdata show that the console graphs do not?
- What do I need before installing?
- How do I install the Netdata Agent?
- How do I keep the dashboard off the public internet?
- How do I open the dashboard safely?
- How do alerts work and how do I tune them?
- How do I watch several servers from one place?
- How do I update or remove Netdata?
- What if something goes wrong?
- Questions
What does Netdata show that the console graphs do not?
Netdata collects thousands of metrics every second from inside the operating system, so it explains why a server is busy, not only that it is busy. The Usage graphs tab in the BitcoinVPS console gives you the outside view of CPU, disk and network over time, which is handy for spotting trends and checking transfer against your plan. Netdata adds the inside view: which process ate the CPU, how deep the disk queue got, how many TCP connections were open, how much memory went to page cache and how a database or web server behaved at that exact second.
It also discovers common software on its own. When Nginx, MariaDB, PostgreSQL, Redis or Docker run on the same host, Netdata usually finds them and starts charting without extra configuration, and it ships with a large set of ready alert rules.
What do I need before installing?
A fresh VPS on Ubuntu 24.04 or 22.04, Debian 12 or 13, Rocky Linux 9 or AlmaLinux 9 works well. Log in as a normal user with sudo rights (the sudo user guide shows how) and bring the system up to date:
# Ubuntu and Debian
sudo apt update && sudo apt upgrade -y
sudo apt install -y curl wget
# Rocky Linux and AlmaLinux
sudo dnf upgrade -y
sudo dnf install -y curl wgetThe agent itself is light: on a small plan it typically uses a modest slice of one vCPU and a few hundred megabytes of RAM, depending on how many collectors it enables and how long it keeps history. Even a 1 GB plan can run it next to a small website.
How do I install the Netdata Agent?
Download the kickstart script and run it. The script detects your distribution, adds the Netdata package repository and installs native packages, so later updates arrive like any other package.
wget -O /tmp/netdata-kickstart.sh https://get.netdata.cloud/kickstart.sh
sh /tmp/netdata-kickstart.sh --stable-channel --disable-telemetryThe --stable-channel flag picks tested releases instead of nightly builds, and --disable-telemetry stops anonymous usage reports. The script asks for your sudo password when it needs it. When it finishes, confirm the service and the version:
systemctl status netdata --no-pager
netdata -v
sudo ss -tlnp | grep 19999You should see the service active (running) and a listener on port 19999. Out of the box that listener accepts connections on every address, which is the next thing to change.
How do I keep the dashboard off the public internet?
Bind the web server to localhost so only processes on the VPS, and your SSH tunnel, can reach it. Netdata includes a helper that opens the main config in your editor and creates it from the stock file if needed:
cd /etc/netdata
sudo ./edit-config netdata.confFind or add the [web] section and set the bind address:
[web]
bind to = 127.0.0.1Restart and verify that the port now listens on loopback only:
sudo systemctl restart netdata
sudo ss -tlnp | grep 19999
curl -s http://127.0.0.1:19999/api/v1/info | head -c 300The ss line should show 127.0.0.1:19999, and the curl call returns a JSON block with the agent version. As a second layer, keep your firewall default at deny and do not open 19999 at all. Our servers have no network firewall in front of them, so the rules inside the OS are what count: see UFW or firewalld.
How do I open the dashboard safely?
Use an SSH tunnel from your own computer. It forwards a local port through the encrypted SSH connection to the loopback address on the server:
ssh -N -L 19999:127.0.0.1:19999 deploy@198.51.100.24Leave that command running and open http://localhost:19999 in your browser. The dashboard may offer to connect to the hosted Netdata Cloud service; that step is optional, and you can skip it to stay with the local agent only. Close the tunnel with Ctrl+C when you are done.
If several people need regular access, put the dashboard behind a reverse proxy with HTTPS and a login instead. Caddy can do that in a few lines (see Caddy HTTPS):
netdata.example.net {
basic_auth {
deploy PASTE_HASH_FROM_caddy_hash-password
}
reverse_proxy 127.0.0.1:19999
}Generate the hash with caddy hash-password, point an A record for netdata.example.net at the server and open only ports 80 and 443.
How do alerts work and how do I tune them?
Netdata evaluates its built-in health rules continuously and marks charts as warning or critical when thresholds are crossed. Rules live in /usr/lib/netdata/conf.d/health.d/ for the stock set and /etc/netdata/health.d/ for your copies. To change one, copy it with the same helper and edit the copy:
cd /etc/netdata
sudo ./edit-config health.d/cpu.conf
sudo netdatacli reload-healthNotifications are set in health_alarm_notify.conf. Email needs a working mail route; outgoing port 25 may be restricted, so ask support with a ticket before planning direct delivery and prefer an authenticated relay on port 587. Webhook style targets such as Telegram, Discord, Slack, ntfy or a custom URL avoid mail entirely and are quick to test:
sudo ./edit-config health_alarm_notify.conf
sudo /usr/libexec/netdata/plugins.d/alarm-notify.sh testRun the test as the netdata user if the script complains (sudo -u netdata in front of it).
How do I watch several servers from one place?
Netdata can stream metrics from child agents to a parent. Our servers have no private network between them, so streaming travels across public IPs and must be encrypted and restricted. On the parent, add a TLS certificate to the web server and an API key in stream.conf; on each child, point destination at the parent with the :SSL suffix:
# parent: /etc/netdata/stream.conf
[11111111-2222-3333-4444-555555555555]
enabled = yes
allow from = 203.0.113.*
# child: /etc/netdata/stream.conf
[stream]
enabled = yes
destination = parent.example.net:19999:SSL
api key = 11111111-2222-3333-4444-555555555555Create a real key with uuidgen. Allow port 19999 in the parent firewall only from the child addresses. If configuring TLS feels heavy, a simpler route is an SSH tunnel from each child to the parent kept alive by a small systemd unit, with the parent still bound to localhost.
How do I update or remove Netdata?
Because the kickstart used native packages, regular system updates keep it current: sudo apt upgrade or sudo dnf upgrade. The script also installs an automatic updater by default; pass --no-updates at install time if you prefer to control timing yourself. To remove the agent completely, run the same script with the uninstall flag:
sh /tmp/netdata-kickstart.sh --uninstallHistory is kept under /var/cache/netdata. If disk space is tight on a small plan, reduce retention in the [db] section of netdata.conf and restart.
What if something goes wrong?
- Blank page through the tunnel: check that
curl http://127.0.0.1:19999works on the server and that nothing else on your laptop already uses port 19999 (pick another local port such as-L 29999:127.0.0.1:19999). - Service fails after editing: read
sudo journalctl -u netdata -n 50; a typo innetdata.confis the usual cause. - No chart for a service: its collector may need credentials, for example a read-only MySQL user. Edit the matching file under
go.d/withedit-config. - High memory: lower the update frequency or the database tier sizes, then restart.
Plans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
Questions about Netdata real-time monitoring
Does Netdata need a Netdata Cloud account?
No. The agent runs and serves its local dashboard without any account. Connecting to the hosted service is optional and can be skipped.
Which port does Netdata use?
TCP 19999 for both the dashboard and streaming. Keep it bound to 127.0.0.1 and reach it through an SSH tunnel or an HTTPS reverse proxy.
Will Netdata slow down a small VPS?
On most small servers the overhead is low. If you want less, raise the update interval in netdata.conf or disable collectors you do not use.
Can I keep long history?
Yes, Netdata stores lower resolution tiers for longer periods. Disk space is the limit, so size retention to your plan and check usage with du -sh /var/cache/netdata.
Is this the same data as the console Usage graphs?
No. The Usage graphs tab is measured outside the VPS and is good for trends and transfer; Netdata measures inside the OS per process and per service.
More in Monitoring and logs
- Uptime Kuma status page
- Prometheus and node_exporter
- Grafana dashboards
- Zabbix monitoring
- Nagios Core
- Beszel lightweight monitoring
- Loki and Alloy for central logs
- Cacti graphs with SNMP
- Monit for self-healing services
- btop, htop and other live monitors
- Central logs with rsyslog
- Rotate logs with logrotate
- Read logs with journalctl
- Graylog log management
- Observium network monitoring
- Vector log and metrics pipeline