How to install Netdata on Oracle Linux 8.8
To install Netdata on Oracle Linux 8.8
Introduction:
Netdata is an open-source system performance and health monitoring application for Unix-like systems, such as Linux, FreeBSD, and macOS, that collects several metrics, visualizes them, and allows you to monitor system operations. There are several plugins available for monitoring the current system status, running applications, and services including MySQL/MariaDB database servers.
Installation Steps:
Step 1: check the Oracle Linux version by using the below command
[root@linuxhelp ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.8"
ID="ol"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Oracle Linux Server 8.8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:8:8:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://github.com/oracle/oracle-linux"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"
ORACLE_BUGZILLA_PRODUCT_VERSION=8.8
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=8.8
Step 2: Install the following dependencies by using the below command
[root@linuxhelp ~]# sudo dnf -y install git zlib-devel libuuid-devel libmnl gcc make git autoconf automake pkgconfig curl findutils
===================================================================================================
Package Architecture Version Repository Size
===================================================================================================
Installing:
autoconf noarch 2.69-29.el8 ol8_appstream 710 k
automake noarch 1.16.1-7.el8 ol8_appstream 713 k
gcc x86_64 8.5.0-10.1.0.1.el8_6 ol8_appstream 23 M
git x86_64 2.31.1-2.el8 ol8_appstream 161 k
libuuid-devel x86_64 2.32.1-35.el8 ol8_baseos_latest 98 k
make x86_64 1:4.2.1-11.el8 ol8_baseos_latest 498 k
zlib-devel x86_64 1.2.11-18.el8_5 ol8_baseos_latest 58 k
Verifying : libuuid-2.32.1-28.el8.x86_64 40/46
Verifying : util-linux-2.32.1-35.el8.x86_64 41/46
Verifying : util-linux-2.32.1-28.el8.x86_64 42/46
Verifying : util-linux-user-2.32.1-35.el8.x86_64 43/46
Verifying : util-linux-user-2.32.1-28.el8.x86_64 44/46
Verifying : zlib-1.2.11-18.el8_5.x86_64 45/46
Verifying : zlib-1.2.11-17.el8.x86_64
Installed:
autoconf-2.69-29.el8.noarch automake-1.16.1-7.el8.noarch
cpp-8.5.0-10.1.0.1.el8_6.x86_64 gcc-8.5.0-10.1.0.1.el8_6.x86_64
git-2.31.1-2.el8.x86_64 git-core-2.31.1-2.el8.x86_64
git-core-doc-2.31.1-2.el8.noarch glibc-devel-2.28-164.0.1.el8.x86_64
isl-0.16.1-6.el8.x86_64 libuuid-devel-2.32.1-35.el8.x86_64
libxcrypt-devel-4.1.1-6.el8.x86_64 m4-1.4.18-7.el8.x86_64
make-1:4.2.1-11.el8.x86_64 perl-Error-1:0.17025-2.el8.noarch
perl-Git-2.31.1-2.el8.noarch perl-TermReadKey-2.37-7.el8.x86_64
perl-Thread-Queue-3.13-1.el8.noarch zlib-devel-1.2.11-18.el8_5.x86_64
Complete!
Step 3: Download and Install Netdata using the script
[root@linuxhelp ~]# bash <(curl -Ss https://my-netdata.io/kickstart.sh) all
/dev/fd/63: line 28: cd: pipe:[396939]: No such file or directory
WARNING Option 'all' is not recognized, ignoring it. If you are following a third-party guide online, please see https://learn.netdata.cloud/docs/install-the-netdata-agent/one-line-installer-for-all-linux-systems for current instructions for using this script. If you are using a local copy of this script instead of fetching it from our servers, consider updating it. If you intended to pass this option to the installer code, please use either --local-build-options or --static-install-options to specify it instead.
--- Using /tmp/netdata-kickstart-ejxw1zuvFl as a temporary directory. ---
--- Checking for existing installations of Netdata... ---
--- No existing installations of netdata found, assuming this is a fresh install. ---
--- Attempting to install using native packages... ---
--- Checking for availability of repository configuration package. ---
[/tmp/netdata-kickstart-ejxw1zuvFl]# /usr/bin/curl --fail -q -sSL --connect-timeout 10 --retry 3 --output /tmp/netdata-kickstart-ejxw1zuvFl/netdata-repo-edge-2-1.noarch.rpm https://repo.netdata.cloud/repos/repoconfig/ol/8/x86_64/netdata-repo-edge-2-1.noarch.rpm
OK
[/tmp/netdata-kickstart-ejxw1zuvFl]# env dnf install /tmp/netdata-kickstart-ejxw1zuvFl/netdata-repo-edge-2-1.noarch.rpm
Last metadata expiration check: 0:01:05 ago on Saturday 29 July 2023 03:28:27 AM IST.
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:
Running transaction check
Transaction check succeeded.
Running transaction test
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
[/tmp/netdata-kickstart-ejxw1zuvFl]# env dnf makecache
Netdata Edge 715 B/s | 687 B 00:00
Netdata Edge 5.7 kB/s | 2.4 kB 00:00
Importing GPG key 0x65F56346:
Userid : "Netdatabot <bot@netdata.cloud>"
Fingerprint: 6588 FDD7 B147 21FE 7C31 15E6 F917 7B52 65F5 6346
From : https://repo.netdata.cloud/netdatabot.gpg.key
Is this ok [y/N]: y
Netdata Edge 198 kB/s | 240 kB 00:01
Netdata Repository Config 802 B/s | 687 B 00:00
Netdata Repository Config 35 kB/s | 2.4 kB 00:00
Importing GPG key 0x65F56346:
Userid : "Netdatabot <bot@netdata.cloud>"
Fingerprint: 6588 FDD7 B147 21FE 7C31 15E6 F917 7B52 65F5 6346
From : https://repo.netdata.cloud/netdatabot.gpg.key
Is this ok [y/N]: y
Netdata Repository Config 5.1 kB/s | 1.4 kB 00:00
Oracle Linux 8 BaseOS Latest (x86_64) 36 kB/s | 3.6 kB 00:00
Oracle Linux 8 Application Stream (x86_64) 24 kB/s | 3.9 kB 00:00
Latest Unbreakable Enterprise Kernel Release 6 26 kB/s | 3.0 kB 00:00
Metadata cache created.
OK
Last metadata expiration check: 0:00:05 ago on Saturday 29 July 2023 03:29:52 AM IST.
[/tmp/netdata-kickstart-ejxw1zuvFl]# env dnf install netdata
Last metadata expiration check: 0:00:09 ago on Saturday 29 July 2023 03:29:52 AM IST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
netdata x86_64 1.41.0.167.nightly-1.el8 netdata-edge 26 M
Installing dependencies:
libuv x86_64 1:1.41.1-1.el8_4 ol8_appstream 156 k
netdata-plugin-apps x86_64 1.41.0.167.nightly-1.el8 netdata-edge 1.1 M
netdata-plugin-chartsd x86_64 1.41.0.167.nightly-1.el8 netdata-edge 29 k
netdata-plugin-debugfs x86_64 1.41.0.167.nightly-1.el8 netdata-edge 969 k
netdata-plugin-ebpf x86_64 1.41.0.167.nightly-1.el8 netdata-edge 1.6 M
netdata-plugin-go x86_64 1.41.0.167.nightly-1.el8 netdata-edge 13 M
netdata-plugin-perf x86_64 1.41.0.167.nightly-1.el8 netdata-edge 945 k
netdata-plugin-pythond x86_64 1.41.0.167.nightly-1.el8 netdata-edge 264 k
netdata-plugin-slabinfo x86_64 1.41.0.167.nightly-1.el8 netdata-edge 942 k
protobuf x86_64 3.5.0-15.el8 ol8_appstream 892 k
python38 x86_64 3.8.16-1.module+el8.8.0+21120+5d2e4734.1
ol8_appstream 80 k
python38-libs x86_64 3.8.16-1.module+el8.8.0+21120+5d2e4734.1
ol8_appstream 8.3 M
python38-pip-wheel noarch 19.3.1-6.module+el8.7.0+20792+22659047
ol8_appstream 1.0 M
python38-setuptools-wheel noarch 41.6.0-5.module+el8.5.0+20371+4f24d723
ol8_appstream 304 k
Installing weak dependencies:
netdata-ebpf-legacy-code x86_64 1.41.0.167.nightly-1.el8 netdata-edge 3.5 M
python38-pip noarch 19.3.1-6.module+el8.7.0+20792+22659047
ol8_appstream 1.8 M
python38-setuptools noarch 41.6.0-5.module+el8.5.0+20371+4f24d723
ol8_appstream 667 k
Enabling module streams:
python38 3.8
Transaction Summary
================================================================================
Install 18 Packages
Total download size: 61 M
Installed size: 263 M
Is this ok [y/N]: y
Downloading Packages:
(1/18): netdata-plugin-apps-1.41.0.167.nightly- 532 kB/s | 1.1 MB 00:02
(2/18): netdata-ebpf-legacy-code-1.41.0.167.nig 1.6 MB/s | 3.5 MB 00:02
(3/18): netdata-1.41.0.167.nightly-1.el8.x86_64 10 MB/s | 26 MB 00:02
(4/18): netdata-plugin-chartsd-1.41.0.167.night 60 kB/s | 29 kB 00:00
(5/18): netdata-plugin-ebpf-1.41.0.167.nightly- 899 kB/s | 1.6 MB 00:01
(6/18): netdata-plugin-debugfs-1.41.0.167.night 381 kB/s | 969 kB 00:02
(7/18): netdata-plugin-go-1.41.0.167.nightly-1. 5.1 MB/s | 13 MB 00:02
(8/18): netdata-plugin-perf-1.41.0.167.nightly- 820 kB/s | 945 kB 00:01
(9/18): libuv-1.41.1-1.el8_4.x86_64.rpm 1.2 MB/s | 156 kB 00:00
(10/18): netdata-plugin-pythond-1.41.0.167.nigh 254 kB/s | 264 kB 00:01
(11/18): python38-3.8.16-1.module+el8.8.0+21120 1.0 MB/s | 80 kB 00:00
(12/18): netdata-plugin-slabinfo-1.41.0.167.nig 951 kB/s | 942 kB 00:00
(13/18): python38-libs-3.8.16-1.module+el8.8.0+ 27 MB/s | 8.3 MB 00:00
(14/18): python38-pip-wheel-19.3.1-6.module+el8 18 MB/s | 1.0 MB 00:00
(15/18): python38-pip-19.3.1-6.module+el8.7.0+2 7.4 MB/s | 1.8 MB 00:00
(16/18): python38-setuptools-wheel-41.6.0-5.mod 51 kB/s | 304 kB 00:05
(17/18): python38-setuptools-41.6.0-5.module+el 109 kB/s | 667 kB 00:06
(18/18): protobuf-3.5.0-15.el8.x86_64.rpm 125 kB/s | 892 kB 00:07
--------------------------------------------------------------------------------
Total 4.8 MB/s | 61 MB 00:12
Netdata Edge 33 kB/s | 2.4 kB 00:00
Importing GPG key 0x65F56346:
Userid : "Netdatabot <bot@netdata.cloud>"
Fingerprint: 6588 FDD7 B147 21FE 7C31 15E6 F917 7B52 65F5 6346
From : https://repo.netdata.cloud/netdatabot.gpg.key
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libuv-1:1.41.1-1.el8_4.x86_64 1/18
Installing : python38-setuptools-wheel-41.6.0-5.module+el8.5.0+ 2/18
Installing : python38-pip-wheel-19.3.1-6.module+el8.7.0+20792+2 3/18
Installing : python38-libs-3.8.16-1.module+el8.8.0+21120+5d2e47 4/18
Installing : python38-3.8.16-1.module+el8.8.0+21120+5d2e4734.1. 5/18
Running scriptlet: python38-3.8.16-1.module+el8.8.0+21120+5d2e4734.1. 5/18
Installing : python38-setuptools-41.6.0-5.module+el8.5.0+20371+ 6/18
Running scriptlet: python38-setuptools-41.6.0-5.module+el8.5.0+20371+ 6/18
Installing : python38-pip-19.3.1-6.module+el8.7.0+20792+2265904 7/18
Running scriptlet: python38-pip-19.3.1-6.module+el8.7.0+20792+2265904 7/18
Installing : protobuf-3.5.0-15.el8.x86_64 8/18
Running scriptlet: netdata-plugin-apps-1.41.0.167.nightly-1.el8.x86_6 9/18
Installing : netdata-plugin-apps-1.41.0.167.nightly-1.el8.x86_6 9/18
Running scriptlet: netdata-plugin-chartsd-1.41.0.167.nightly-1.el8.x8 10/18
Installing : netdata-plugin-chartsd-1.41.0.167.nightly-1.el8.x8 10/18
Running scriptlet: netdata-plugin-debugfs-1.41.0.167.nightly-1.el8.x8 11/18
Installing : netdata-plugin-debugfs-1.41.0.167.nightly-1.el8.x8 11/18
Running scriptlet: netdata-ebpf-legacy-code-1.41.0.167.nightly-1.el8. 12/18
Installing : netdata-ebpf-legacy-code-1.41.0.167.nightly-1.el8. 12/18
Running scriptlet: netdata-plugin-ebpf-1.41.0.167.nightly-1.el8.x86_6 13/18
Installing : netdata-plugin-ebpf-1.41.0.167.nightly-1.el8.x86_6 13/18
Running scriptlet: netdata-plugin-go-1.41.0.167.nightly-1.el8.x86_64 14/18
Installing : netdata-plugin-go-1.41.0.167.nightly-1.el8.x86_64 14/18
Running scriptlet: netdata-plugin-perf-1.41.0.167.nightly-1.el8.x86_6 15/18
Installing : netdata-plugin-perf-1.41.0.167.nightly-1.el8.x86_6 15/18
Running scriptlet: netdata-plugin-pythond-1.41.0.167.nightly-1.el8.x8 16/18
Installing : netdata-plugin-pythond-1.41.0.167.nightly-1.el8.x8 16/18
Running scriptlet: netdata-plugin-slabinfo-1.41.0.167.nightly-1.el8.x 17/18
Installing : netdata-plugin-slabinfo-1.41.0.167.nightly-1.el8.x 17/18
Running scriptlet: netdata-1.41.0.167.nightly-1.el8.x86_64 18/18
Installing : netdata-1.41.0.167.nightly-1.el8.x86_64 18/18
Running scriptlet: netdata-1.41.0.167.nightly-1.el8.x86_64 18/18
Verifying : netdata-1.41.0.167.nightly-1.el8.x86_64 1/18
Verifying : netdata-ebpf-legacy-code-1.41.0.167.nightly-1.el8. 2/18
Verifying : netdata-plugin-apps-1.41.0.167.nightly-1.el8.x86_6 3/18
Verifying : netdata-plugin-chartsd-1.41.0.167.nightly-1.el8.x8 4/18
Verifying : netdata-plugin-debugfs-1.41.0.167.nightly-1.el8.x8 5/18
Verifying : netdata-plugin-ebpf-1.41.0.167.nightly-1.el8.x86_6 6/18
Verifying : netdata-plugin-go-1.41.0.167.nightly-1.el8.x86_64 7/18
Verifying : netdata-plugin-perf-1.41.0.167.nightly-1.el8.x86_6 8/18
Verifying : netdata-plugin-pythond-1.41.0.167.nightly-1.el8.x8 9/18
Verifying : netdata-plugin-slabinfo-1.41.0.167.nightly-1.el8.x 10/18
Verifying : libuv-1:1.41.1-1.el8_4.x86_64 11/18
Verifying : protobuf-3.5.0-15.el8.x86_64 12/18
Verifying : python38-3.8.16-1.module+el8.8.0+21120+5d2e4734.1. 13/18
Verifying : python38-libs-3.8.16-1.module+el8.8.0+21120+5d2e47 14/18
Verifying : python38-pip-19.3.1-6.module+el8.7.0+20792+2265904 15/18
Verifying : python38-pip-wheel-19.3.1-6.module+el8.7.0+20792+2 16/18
Verifying : python38-setuptools-41.6.0-5.module+el8.5.0+20371+ 17/18
Verifying : python38-setuptools-wheel-41.6.0-5.module+el8.5.0+ 18/18
Installed:
libuv-1:1.41.1-1.el8_4.x86_64
netdata-1.41.0.167.nightly-1.el8.x86_64
netdata-ebpf-legacy-code-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-apps-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-chartsd-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-debugfs-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-ebpf-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-go-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-perf-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-pythond-1.41.0.167.nightly-1.el8.x86_64
netdata-plugin-slabinfo-1.41.0.167.nightly-1.el8.x86_64
protobuf-3.5.0-15.el8.x86_64
python38-3.8.16-1.module+el8.8.0+21120+5d2e4734.1.x86_64
python38-libs-3.8.16-1.module+el8.8.0+21120+5d2e4734.1.x86_64
python38-pip-19.3.1-6.module+el8.7.0+20792+22659047.noarch
python38-pip-wheel-19.3.1-6.module+el8.7.0+20792+22659047.noarch
python38-setuptools-41.6.0-5.module+el8.5.0+20371+4f24d723.noarch
python38-setuptools-wheel-41.6.0-5.module+el8.5.0+20371+4f24d723.noarch
Complete!
OK
[/tmp/netdata-kickstart-ejxw1zuvFl]# test -x //usr/libexec/netdata/netdata-updater.sh
OK
[/tmp/netdata-kickstart-ejxw1zuvFl]# grep -q \-\-enable-auto-updates //usr/libexec/netdata/netdata-updater.sh
OK
[/tmp/netdata-kickstart-ejxw1zuvFl]# //usr/libexec/netdata/netdata-updater.sh --enable-auto-updates
Sat Jul 29 03:30:43 IST 2023 : INFO: netdata-updater.sh: Auto-updating has been ENABLED through cron, updater script linked to /etc/cron.daily/netdata-updater\n
Sat Jul 29 03:30:43 IST 2023 : INFO: netdata-updater.sh: If the update process fails and you have email notifications set up correctly for cron on this system, you should receive an email notification of the failure.
Sat Jul 29 03:30:43 IST 2023 : INFO: netdata-updater.sh: Successful updates will not send an email.
OK
Successfully installed the Netdata Agent.
The following non-fatal warnings or errors were encountered:
- Option 'all' is not recognized, ignoring it. If you are following a third-party guide online, please see https://learn.netdata.cloud/docs/install-the-netdata-agent/one-line-installer-for-all-linux-systems for current instructions for using this script. If you are using a local copy of this script instead of fetching it from our servers, consider updating it. If you intended to pass this option to the installer code, please use either --local-build-options or --static-install-options to specify it instead.
Official documentation can be found online at https://learn.netdata.cloud/docs/.
Looking to monitor all of your infrastructure with Netdata? Check out Netdata Cloud at https://app.netdata.cloud.
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-ejxw1zuvFl
OK
Step 4: Now allow Netdata default port to pass through firewall using the below command
[root@linuxhelp ~]# firewall-cmd --permanent --add-port=19999/tcp
Success
Step 5: Reload firewall by using the below command
[root@linuxhelp ~]# firewall-cmd --reload
Success
Step 6: Check the status of Netdata 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; vendor pre>
Active: inactive (dead)
Step 7: Check the start of Netdata by using the below command
[root@linuxhelp ~]# systemctl start netdata
Step 8: Check the status of Netdata 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; vendor pre>
Active: active (running) since Sat 2023-07-29 03:32:22 IST; 3s ago
Process: 130669 ExecStartPre=/bin/chown -R netdata /run/netdata (code=exited,>
Process: 130667 ExecStartPre=/bin/mkdir -p /run/netdata (code=exited, status=>
Process: 130665 ExecStartPre=/bin/chown -R netdata /var/cache/netdata (code=e>
Process: 130663 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, s>
Main PID: 130671 (netdata)
Tasks: 82 (limit: 22942)
Memory: 66.3M
CGroup: /system.slice/netdata.service
├─130671 /usr/sbin/netdata -P /run/netdata/netdata.pid -D
├─130679 /usr/sbin/netdata --special-spawn-server
├─130861 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1
├─130871 /usr/libexec/netdata/plugins.d/debugfs.plugin 1
├─130874 /usr/libexec/netdata/plugins.d/ebpf.plugin 1
├─130879 /usr/libexec/netdata/plugins.d/apps.plugin 1
├─130895 /usr/libexec/netdata/plugins.d/go.d.plugin 1
└─130897 /usr/bin/python3 /usr/libexec/netdata/plugins.d/python.d.pl>
Jul 29 03:32:24 linuxhelp ebpf.plugin[130874]: set name of thread 130913 to EBP>
Jul 29 03:32:24 linuxhelp ebpf.plugin[130874]: thread created with task id 1309>
Jul 29 03:32:24 linuxhelp ebpf.plugin[130874]: set name of thread 130907 to EBP>
Step 9: Now go to the browser and enter you server IP https//server-ip:19999/ in browser as shown in the below image.
Step 10: This is the Dashboard of Netdata
Step 11: This is the CPU utilization
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Netdata on Oracle Linux 8.8. Your feedback is much welcome.