How to install the NetData monitoring tool on Rocky Linux 9.2
- 00:28 Cat /etc/os-release
- 00:44 dnf install epel-release -y
- 01:11 wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
- 03:18 systemctl enable netdata
- 03:28 systemctl start netdata
- 03:46 systemctl status netdata
- 04:06 firewall-cmd --permanent --add-port=19999/tcp
- 04:32 firewall-cmd --reload
To Install The NetData Monitoring Tool On Rocky Linux 9.2
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.
procedure
Step 1: Check the OS version by using the below command
[root@Linuxhelp ~]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.2 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.2 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.2"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2"
Step 2: Install EPEL Repo by using the below command
[root@Linuxhelp ~]# dnf install epel-release -y
Rocky Linux 9 - BaseOS 4.4 kB/s | 4.1 kB 00:00
Rocky Linux 9 - AppStream 4.9 kB/s | 4.5 kB 00:00
Rocky Linux 9 - Extras 4.0 kB/s | 2.9 kB 00:00
Dependencies resolved.
=========================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================
Installing:
epel-release noarch 9-7.el9 extras 19 k
Transaction Summary
=========================================================================================================================
Install 1 Package
Total download size: 19 k
Installed size: 26 k
Downloading Packages:
epel-release-9-7.el9.noarch.rpm 106 kB/s | 19 kB 00:00
-------------------------------------------------------------------------------------------------------------------------
Total 23 kB/s | 19 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : epel-release-9-7.el9.noarch 1/1
Running scriptlet: epel-release-9-7.el9.noarch 1/1
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.
Verifying : epel-release-9-7.el9.noarch 1/1
Installed:
epel-release-9-7.el9.noarch
Complete!
Step 3: Install required packages for Netdata by running the below command.
[root@Linuxhelp ~]# wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
--2023-11-12 05:52:21-- https://my-netdata.io/kickstart.sh
Resolving my-netdata.io (my-netdata.io)... 104.21.13.159, 172.67.156.192, 2606:4700:3036::ac43:9cc0, ...
Connecting to my-netdata.io (my-netdata.io)|104.21.13.159|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘/tmp/netdata-kickstart.sh’
/tmp/netdata-kickstart.sh [ <=> ] 82.99K 429KB/s in 0.2s
2023-11-12 05:52:23 (429 KB/s) - ‘/tmp/netdata-kickstart.sh’ saved [84980]
--- Using /tmp/netdata-kickstart-vbDzLfcICf as a temporary directory. ---
--- Checking for existing installations of Netdata... ---
`Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 799 B/s | 2.5 kB 00:03
Last metadata expiration check: 0:00:01 ago on Sunday 12 November 2023 05:52:41 AM.
Dependencies resolved.
=========================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================
Installing:
netdata-repo-edge noarch 2-1 @commandline 7.0 k
Transaction Summary
=========================================================================================================================
Install 1 Package
Total size: 7.0 k
Installed size: 548
Is this ok [y/N]: y
Downloading Packages:
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : netdata-repo-edge-2-1.noarch 1/1
Verifying : netdata-repo-edge-2-1.noarch 1/1
Installed:
netdata-repo-edge-2-1.noarch
Complete!
OK
Join our community and connect with us on:
- GitHub: https://github.com/netdata/netdata/discussions
- Discord: https://discord.gg/5ygS846fR6
- Our community forums: https://community.netdata.cloud/
[/root]# rm -rf /tmp/netdata-kickstart-vbDzLfcICf
OK
Step 4: Start and Enable the Netdata service by using the below command
[root@Linuxhelp ~]# systemctl enable netdata
[root@Linuxhelp ~]# systemctl start netdata
Step 5: Check the status of the Netdata service by using the below command
[root@Linuxhelp ~]# systemctl status netdata
● netdata.service - Real time performance monitoring
Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; preset: enabled)
Active: active (running) since Sun 2023-11-12 05:55:43 IST; 18s ago
Process: 82448 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
Process: 82450 ExecStartPre=/bin/chown -R netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
Process: 82451 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=0/SUCCESS)
Process: 82452 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited, status=0/SUCCESS)
Main PID: 82453 (netdata)
Tasks: 91 (limit: 22877)
Memory: 145.3M
CPU: 10.379s
CGroup: /system.slice/netdata.service
├─82453 /usr/sbin/netdata -P /run/netdata/netdata.pid -D
├─82459 /usr/sbin/netdata --special-spawn-server
├─82615 /usr/libexec/netdata/plugins.d/apps.plugin 1
├─82642 /usr/libexec/netdata/plugins.d/go.d.plugin 1
├─82649 /usr/libexec/netdata/plugins.d/ebpf.plugin 1
├─82654 /usr/libexec/netdata/plugins.d/debugfs.plugin 1
├─82658 /usr/libexec/netdata/plugins.d/systemd-journal.plugin 1
└─82665 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
Nov 12 05:55:43 Linuxhelp systemd[1]: Starting Real time performance monitoring...
Nov 12 05:55:43 Linuxhelp systemd[1]: Started Real time performance monitoring.
Nov 12 05:55:43 Linuxhelp netdata[82453]: 2023-11-12 05:55:43: netdata INFO : MAIN : CONFIG: cannot load cloud config '>
Nov 12 05:55:43 Linuxhelp netdata[82453]: 2023-11-12 05:55:43: netdata INFO : MAIN : Found 0 legacy dbengines, setting >
Nov 12 05:55:43 Linuxhelp netdata[82453]: 2023-11-12 05:55:43: netdata INFO : MAIN : Created file '/var/lib/netdata/dbe>
Nov 12 05:55:50 Linuxhelp sudo[82848]: netdata : command not allowed ; PWD=/etc/netdata ; USER=root ; COMMAND=validate
Step 6: Allow the Netdata port number 19999 on firewall by using the below command
[root@Linuxhelp ~]# firewall-cmd --permanent --add-port=19999/tcp
Success
Step 7: Reload the firewall by using the below command
[root@Linuxhelp ~]# firewall-cmd --reload
success
Enter the following URL on the browser to access the Netdata dashboard. By default, Netdata works on 19999 port.
http://Enter Your IP Here:19999/

The dashboard will look like this.
Conclusion
We have reached the end of this article. In this guide, we have walked you through the steps required to install the NetData monitoring tool on Rocky Linux 9.2. Your feedback is much welcome.
Comments ( 0 )
No comments available