Install Netdata Monitoring Tool on Debian 12: Easy To Use and Fast
This tutorial will guide you through the process of installing the Install Netdata Monitoring Tool on Debian 12. Netdata is a powerful, open-source tool designed for real-time performance monitoring and health monitoring of systems and applications. Its lightweight nature and comprehensive metrics make it an invaluable asset for system administrators and developers alike.
Netdata offers a visually appealing and intuitive dashboard, providing a wealth of information about your system’s performance, including CPU usage, memory consumption, disk I/O, network activity, and much more. It’s designed to be easy to use and fast, allowing you to quickly identify and diagnose performance issues.
Netdata packages are conveniently available in the default Debian 12 repository, simplifying the installation process. The following steps will walk you through installing and configuring Install Netdata Monitoring Tool on Debian 12 using the standard repository.
Before proceeding with the installation, ensure you have the following prerequisites in place:
- Access to your Debian 12 server as a non-root user with sudo privileges.
- A basic firewall configured for your server.
You can refer to the "Initial Server Setup with Debian 12 Bookworm" guide on Orcacore for assistance with these initial setup steps.
Once you have met these prerequisites, you can proceed with the following steps to Install Netdata Monitoring Tool on Debian 12.
Step 1 – Install Netdata on Debian 12
First, update your system’s package list to ensure you have the latest available versions of software packages. Use the following command:
sudo apt update
Next, install Netdata using the apt
package manager:
sudo apt install netdata -y
The -y
flag automatically confirms the installation, preventing the need for manual confirmation.
Step 2 – How To Start and Enable Netdata Monitoring Tool?
After the installation is complete, start the Netdata service using the following command:
sudo systemctl start netdata
To ensure Netdata automatically starts at boot time, enable the service using the following command:
sudo systemctl enable netdata
Verify that Netdata is active and running correctly on your Debian 12 system with the following command:
sudo systemctl status netdata
The output should resemble the following:
**Output**
● netdata.service - netdata - Real-time performance monitoring
Loaded: loaded (/lib/systemd/system/netdata.service; enabled; preset: enabled)
Active: **active** (**running**) since Mon 2023-06-26 14:24:11 EDT; 5min ago
Docs: man:netdata
file:///usr/share/doc/netdata/html/index.html
https://github.com/netdata/netdata
Main PID: 5116 (netdata)
Tasks: 51 (limit: 4653)
Memory: 70.0M
CPU: 9.583s
CGroup: /system.slice/netdata.service
...
The output confirms that the Netdata service is active and running.
Step 3 – How To Configure Netdata Monitoring Tool?
Now that Netdata is installed, you may want to configure it to suit your specific needs. A common configuration change involves binding Netdata to your server’s IP address, especially if you plan to access the dashboard from a remote machine.
Open the Netdata configuration file using your preferred text editor. Here, we use vi
:
sudo vi /etc/netdata/netdata.conf
In the [global]
section of the configuration file, locate the bind socket to IP
directive and change its value to your server’s IP address:
[global]
run as user = netdata
web files owner = root
web files group = root
# Netdata is not designed to be exposed to potentially hostile
# networks. See https://github.com/netdata/netdata/issues/164
bind socket to IP = your-server's-IP-address
Replace your-server's-IP-address
with the actual IP address of your server. Save the changes and close the file.
To apply the configuration changes, restart the Netdata service:
sudo systemctl restart netdata
Step 4 – Configure UFW Firewall for Netdata
Netdata, by default, runs on port 19999
. To access the Netdata dashboard from a web browser, you need to allow traffic on this port through your firewall.
Assuming you have enabled the UFW firewall as part of the initial server setup, use the following command to allow traffic on port 19999:
sudo ufw allow 19999/tcp
Reload the firewall to activate the new rule:
sudo ufw reload
Step 5 – Access Netdata Dashboard from Web Interface
You can now access the Netdata dashboard from your web browser by navigating to your server’s IP address followed by port 19999:
http://YOUR_SERVER_IP_ADDRESS:19999
Replace YOUR_SERVER_IP_ADDRESS
with the actual IP address of your server.
You should see the Netdata dashboard, providing a comprehensive overview of your system’s performance.

The Netdata dashboard is designed to be user-friendly and informative, providing real-time insights into your system’s performance. It’s an easy-to-use, fast, and feature-rich tool for monitoring your server.
For more information, visit Netdata’s Official Website.
Conclusion
You have successfully learned to Install Netdata Monitoring Tool on Debian 12 Bookworm. Furthermore, you have configured the firewall and accessed the Netdata dashboard through the web interface.
Please subscribe to us on Facebook, Instagram, and Twitter.
Alternative Solutions for Monitoring on Debian 12
While Netdata is an excellent choice, alternative monitoring solutions exist that might better suit specific needs or preferences. Here are two alternative methods for monitoring a Debian 12 system:
1. Using Prometheus and Grafana
Prometheus is a powerful open-source monitoring and alerting toolkit. It excels at collecting and storing metrics as time-series data. Grafana, on the other hand, is a data visualization tool that works seamlessly with Prometheus to create interactive and informative dashboards.
-
Explanation: Prometheus scrapes metrics from monitored targets (like your Debian 12 server) using HTTP. These metrics are stored in Prometheus’s time-series database. Grafana queries Prometheus to retrieve the data and display it in customizable dashboards. This combination offers a flexible and scalable monitoring solution.
-
Installation and Configuration:
-
Install Prometheus:
sudo apt update sudo apt install prometheus
-
Configure Prometheus: Edit the
/etc/prometheus/prometheus.yml
file to define the targets to be monitored. A basic configuration to monitor the local host is as follows:global: scrape_interval: 15s evaluation_interval: 15s scrape_configs: - job_name: 'linux' static_configs: - targets: ['localhost:9090']
Restart the Prometheus service:
sudo systemctl restart prometheus
-
Install Grafana:
sudo apt update sudo apt install grafana
-
Configure Grafana: Access Grafana’s web interface (usually on port 3000), add Prometheus as a data source, and create dashboards to visualize the metrics. Many pre-built Grafana dashboards for Linux system monitoring are available for import.
-
-
Code Example (Node Exporter): To expose system metrics to Prometheus, you can use the Node Exporter.
-
Install Node Exporter:
sudo apt update wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz tar -xvf node_exporter-1.3.1.linux-amd64.tar.gz sudo mv node_exporter-1.3.1.linux-amd64/node_exporter /usr/local/bin
-
Create a Systemd service file:
/etc/systemd/system/node_exporter.service
[Unit] Description=Prometheus Node Exporter Wants=network-online.target After=network-online.target [Service] User=nobody Group=nogroup Type=simple ExecStart=/usr/local/bin/node_exporter [Install] WantedBy=multi-user.target
-
Enable and start the Node Exporter service:
sudo systemctl enable node_exporter sudo systemctl start node_exporter
-
Update Prometheus Configuration: Modify the
prometheus.yml
file to scrape metrics from the Node Exporter:scrape_configs: - job_name: 'linux' static_configs: - targets: ['localhost:9100'] # Node Exporter runs on port 9100
Restart Prometheus.
-
2. Using Glances
Glances is a Python-based cross-platform monitoring tool. It provides a comprehensive overview of system resources in a single terminal window.
-
Explanation: Glances gathers system information using various system APIs and presents it in a concise and visually appealing manner. It can display CPU usage, memory usage, disk I/O, network utilization, and more. Glances also supports exporting metrics to external time-series databases like InfluxDB or Prometheus.
-
Installation and Configuration:
-
Install Glances:
sudo apt update sudo apt install glances
-
Run Glances: Simply execute the
glances
command in your terminal.glances
-
Configuration: Glances can be configured using the
/etc/glances/glances.conf
file. You can customize the displayed information, thresholds, and export options.
-
-
Code Example (Basic Usage):
To run Glances in web server mode (accessible via a web browser):
glances -w
This will start Glances as a web server, typically on port 61208. You can then access the Glances web interface by navigating to
http://YOUR_SERVER_IP_ADDRESS:61208
in your browser.
These are just two alternative approaches to monitoring your Debian 12 system. The best choice will depend on your specific requirements, technical expertise, and desired level of customization. Each of these tools offers unique advantages and disadvantages, so it’s worth exploring them to find the one that best fits your needs. Installing Install Netdata Monitoring Tool on Debian 12 is still a great choice.