How to install Netdata Monitoring Tool on Ubuntu 21.04

To Install Net data Monitoring Tool on Ubuntu 21.04

Introduction:

NetData is a free and open-source monitoring tool that monitors various services and system performance in real-time, including CPU usage, disk activity, bandwidth usage, and more. The web-based interface allows users to easily monitor all aspects on one page.

Installation Procedure:

Step 1: Check the OS version by using the following command

root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

Step 2: Install Netdata by running the kickstart.sh script

root@linuxhelp:~# bash <(curl -Ss https://my-netdata.io/kickstart.sh)
System            : Linux
Operating System  : GNU/Linux
Machine           : x86_64
BASH major version: 
 --- Fetching script to detect required packages... --- 
[/tmp/netdata-kickstart-T0L0odHIYE]# curl -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-T0L0odHIYE/install-required-packages.sh https://raw.githubusercontent.com/netdata/netdata/master/packaging/installer/install-required-packages.sh  OK  

 --- Run the downloaded script to detect required packages... --- 
[/tmp/netdata-kickstart-T0L0odHIYE]# /usr/bin/bash /tmp/netdata-kickstart-T0L0odHIYE/install-required-packages.sh netdata Loading /etc/os-release ...

Searching for libuv ...
 > Checking if package 'libuv1-dev' is installed...
dpkg-query: no packages found matching libuv1-dev
Searching for lz4 ...
 > Checking if package 'liblz4-dev' is installed...
dpkg-query: no packages found matching liblz4-dev
Searching for openssl ...
 > Checking if package 'libssl-dev' is installed...
Searching for judy ...
 > Checking if package 'libjudy-dev' is installed...
dpkg-query: no packages found matching libjudy-dev
Searching for libelf ...
 > Checking if package 'libelf-dev' is installed...
Setting netdata.tarball.checksum to 'new_installation'

 --- We are done! --- 

  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata                          .-.   .-
  |   '-'   '-'   '-'   '-'   '-'   is installed and running now!  -'   '-'  
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

  enjoy real-time performance and health monitoring...

 OK  

Step 3: Check the running status of the Netdata by using its default Port number

root@linuxhelp:~# netstat -tulnp | grep 19999
tcp        0      0 0.0.0.0:19999           0.0.0.0:*               LISTEN      53337/netdata       
tcp6       0      0 :::19999                :::*                    LISTEN      53337/netdata       

Step 4: Check the status of the Netdata service

root@linuxhelp:~# systemctl status netdata
● netdata.service - Real time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-12-07 03:01:14 IST; 1min 2s ago
    Process: 53333 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 53334 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 53335 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS)
    Process: 53336 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS)
   Main PID: 53337 (netdata)
      Tasks: 39 (limit: 2254)
     Memory: 84.6M
     CGroup: /system.slice/netdata.service
             ├─53337 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D
             ├─53365 /usr/sbin/netdata --special-spawn-server
             ├─53535 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
             ├─53559 /usr/libexec/netdata/plugins.d/apps.plugin 1
             ├─53561 /usr/bin/python3 /usr/libexec/netdata/plugins.d/python.d.plugin 1
             └─53563 /usr/libexec/netdata/plugins.d/go.d.plugin 1

Dec 07 03:01:14 linuxhelp netdata[53337]: Found 0 legacy dbengines, setting multidb diskspace to 256MB
Dec 07 03:01:14 linuxhelp netdata[53337]: 2021-12-07 03:01:14: netdata INFO  : MAIN : CONFIG: cannot load cloud conf>
Dec 07 03:01:14 linuxhelp netdata[53337]: 2021-12-07 03:01:14: netdata INFO  : MAIN : Found 0 legacy dbengines, sett>
Dec 07 03:01:14 linuxhelp netdata[53337]: 2021-12-07 03:01:14: netdata INFO  : MAIN : Created file '/var/lib/netdata>
Dec 07 03:01:14 linuxhelp netdata[53337]: Created file '/var/lib/netdata/dbengine_multihost_size' to store the compu>
Dec 07 03:01:14 linuxhelp ebpf.plugin[53558]: Does not have a configuration file inside `/etc/netdata/ebpf.d.conf. I>
Dec 07 03:01:14 linuxhelp ebpf.plugin[53558]: Name resolution is disabled, collector will not parser "hostnames" lis>
Dec 07 03:01:14 linuxhelp ebpf.plugin[53558]: The network value of CIDR 127.0.0.1/8 was updated for 127.0.0.0 .
Dec 07 03:01:14 linuxhelp ebpf.plugin[53558]: PROCFILE: Cannot open file '/etc/netdata/apps_groups.conf'
Dec 07 03:01:14 linuxhelp ebpf.plugin[53558]: Cannot read process groups configuration file '/etc/netdata/apps_group>

Step 5: Allow the netdata port number 19999 on firewall

root@linuxhelp:~# ufw allow 19999/tcp
Rule added
Rule added (v6)

Step 6: Restart the firewall

root@linuxhelp:~# ufw reload
Firewall reloaded

Step 7: Check the status of the firewall

root@linuxhelp:~# ufw status
Status: active

To                         Action      From
--                         ------      ----
19999/tcp                  ALLOW       Anywhere                  
19999/tcp (v6)             ALLOW       Anywhere (v6)             

Step 8: Ping the server IP address with 19999 port number

Step 9: Dashboard of the Netdata

By this the Installation of Netdata Monitoring Tool on Ubuntu 21.04 comes to end

Tag : Netdata Ubuntu
FAQ
Q
Does Netdata run as a Daemon service on Linux?
A
Yes, Netdata runs as a Daemon service on Linux.
Q
What are the supported platforms of Netdata?
A
Linux, FreeBSD, and macOS are the supported platforms of Netdata.
Q
What is the default port number of Netdata?
A
The default port number of Netdata is "19999"
Q
How to install Netdata?
A
Netdata can be installed by running the following command "bash <(curl -Ss https://my-netdata.io/kickstart.sh)
Q
What is the default firewall on Ubuntu?
A
The default firewall used on Ubuntu was "ufw".