Ubuntu

How to install Netdata – A Real Time Performance Monitoring Utility on Ubuntu 22.04

Netdata is an open-source application used to monitor the performance of CPU, RAM, bandwidth usage, disk usage and displays the results on the web browser based dashboard. It can collect the data on the basis of real-time and also troubleshoot the issues which are causing the performance lag. More than 200 built-in integrations are included in the Netdata package, which can help the system to resolve the issues.

In this write-up, the netdata installation’s method has been explained in detail with the configuration of the firewall.

How to install Netdata on Ubuntu 22.04

For the installation of Netdata, we have to download and set up the repository of Netdata by executing the below-mentioned command:

$ curl -s https://packagecloud.io/install/repositories/netdata/netdata-repoconfig/script.deb.sh | sudo bash

When the setup of the repository is ready, we will install it using the apt package manager:

$ sudo apt install netdata -y

Once the installation is complete, we will verify the installation of Netdata by displaying the status of installed package:

$ sudo systemctl status netdata

Now for Netdata, we have to allow the traffic on port 19999 using the UFW:

$ sudo ufw allow 19999/tcp

Reload the firewall after adding the rule and also check the status by using the command:

$ sudo ufw reload && sudo ufw status

Now find out the ip address with the port that netdata is listening by running the command:

$ ss -antpl | grep 19999

In the above output, we can see that in our system the address is 127.0.0.1:19999, so we will use the address and go to the web browser to open it:

The Netdata monitor is displayed on the screen, and showing the CPU performance and to view the load performance scroll down the page:

Likewise, the disk performance is also displayed:

To remove the Netdata with its configuration files, we will purge the package using the apt package manager:

$ sudo apt purge netdata -y

Conclusion

Netdata is a monitoring application that is used to monitor the performance of CPU, load, disk and RAM performance. In this guide, we simply installed the package of netdata adding its repository from the official website of Netdata to the default repository and then installed it using the apt package manager.

About the author

Hammad Zahid

I'm an Engineering graduate and my passion for IT has brought me to Linux. Now here I'm learning and sharing my knowledge with the world.