How to install Netdata on Ubuntu 22.04
To Install Netdata On Ubuntu 22.04
Introduction
Netdata is a free and Open Source tool that is helpful for troubleshooting real-time issues. It features a distributed, scalable, real-time performance and health monitoring solution for Linux, FreeBSD, and macOS.
Procedure
Step 1: Check the OS version by using the below command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Step 2: Update the server by using the below command
root@linuxhelp:~# apt update -y
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1,106 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted i386 Packages [32.8 kB]
Fetched 1,368 kB in 4s (386 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
106 packages can be upgraded. Run 'apt list --upgradable' to see them.
Step 3: After the update, need to upgrade the server by using the below command
root@linuxhelp:~# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libllvm13
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Processing triggers for libc-bin (2.35-0ubuntu3.4) ...
Step 4: Install netdata by using the apt command with –y option to confirm installation
root@linuxhelp:~# apt install netdata -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libllvm13 linux-headers-5.15.0-43 linux-headers-5.15.0-43-generic
linux-image-5.15.0-43-generic linux-modules-5.15.0-43-generic linux-modules-extra-5.15.0-43-generic
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
fonts-font-awesome fonts-glyphicons-halflings javascript-common libc-ares2 libjs-bootstrap libjs-highlight.js
libjudydebian1 libnetfilter-acct1 libnode72 netdata-core netdata-plugins-bash netdata-plugins-nodejs
netdata-plugins-python netdata-web nodejs nodejs-doc
Processing triggers for libc-bin (2.35-0ubuntu3.4) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for fontconfig (2.13.1-4.2ubuntu5) ...
Step 5: Configure the netdata with my IP for that edit the netdata.conf file
root@linuxhelp:~# vim /etc/netdata/netdata.conf
Step 6: Need to restart the netdata service after the changes in the configuration file by using the below command
root@linuxhelp:~# systemctl restart netdata
Step 7: Netdata uses the 19999 port as default port, So need to allow in the firewall by using the below command
root@linuxhelp:~# ufw allow 19999
Rules updated
Rules updated (v6)
Now go to the browser and search with the your IP address or your domain name along with the port number. Eg : http://192.168.6.113:19999 or https://example.com:19999

Conclusion
We have reached the end of this article. In this guide, we have walked you through the steps required to installation of Netdata on Ubuntu 22.04. Your feedback is much welcome.
Comments ( 0 )
No comments available