How to Install Netdata on Debian 11

Install Netdata on Debian 11

In this article, we will have explained the necessary steps to install Netdata on Debian 11. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Netdata’s distributed, real-time monitoring Agent collects thousands of metrics from systems, hardware, containers, and applications with zero configuration. It runs permanently on all your physical/virtual servers, containers, cloud deployments, and edge/IoT devices, and is perfectly safe to install on your systems mid-incident without any preparation. Netdata is fast and efficient and requires only a small amount of configuration and installation.

Netdata Features:

  • Monitors and renders various system metrics in real-time, such as CPU, memory, disk I/O, network traffic, system processes, Apache/Nginx status, MySQL status, Postfix message queue, and others.
  • Runs on most Linux distributions.
  • Is highly optimized to use minimal CPU, memory, and disk I/O.
  • Provide stunning real-time metrics graphics in an intuitive web interface.

Install Netdata on Debian 11

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

sudo apt update
sudo apt upgrade

Step 2. Install Netdata on Debian 11 Bullseye system.

The Netdata package is available on Debian’s base repository and can be installed using the APT package manager. Install Netdata directly using the following command:

sudo apt install netdata

Once installed, You can start, stop and get the status of the Netdata service by running the following commands:

sudo systemctl start netdata
sudo systemctl stop netdata
sudo systemctl status netdata

Step 3. Configuring Netdata.

Run the following command below to edit this file:

nano /etc/netdata/netdata.conf

Find the bind socket to IP = line, and change this line to bind a socket to your own server’s IP address:

bind socket to IP = your-server-ip-address

Save and restart the Netdata service for the new settings to take effect:

sudo systemctl restart netdata

Step 4. Configure Firewall.

We need to modify firewall rules to allow traffic on port 19999, the default communication port of Netdata:

sudo ufw allow 19999
sudo ufw reload

Step 5. Accessing Netdata Web Interface.

Confirm the installation by opening your web browser and visiting the monitoring interface of the Netdata URL http://your-server-ip:19999. The Netdata dashboard will be displayed, and you can start using Netdata.

That’s all you need to do to install the Netdata on Debian (Bullseye). I hope you find this quick tip helpful. For further reading Netdata real-time performance monitoring on Debian’s system, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.