How To Install Netdata on AlmaLinux 9

In this guide, we want to teach you How To Install and Configure Netdata on AlmaLinux 9.

Netdata is an open-source, distributed, real-time, performance, and health monitoring for systems and applications to help IT teams. The free, open-source Netdata gives teams comprehensive, real-time visibility into the full technology stack, yet is easy to install with no configuration necessary and no limits on scalability.

Steps To Install and Configure Netdata on AlmaLinux 9

To complete this guide, you must log in to your server as a non-root user with sudo privileges and set up a basic firewall. To do this, you can follow our guide on Initial Server Setup with AlmaLinux 9.

Install Netdata on AlmaLinux 9

First, you need to update your local package index with the command below:

sudo dnf update -y

Install Epel Repository

Then, you need to install the Epel repo on AlmaLinux 9 by using the command below:

sudo dnf install epel-release -y

Install Required packages and Dependencies

Netdata installation on AlmaLinux 9 needs some required packages, install them with the command below:

sudo dnf install git libuuid-devel autoconf automake pkgconfig zlib-devel curl findutils libmnl gcc make -y

Here we install Netdata from Github.

Clone Netdata from GitHub

First, clone the Netdata on AlmaLinux 9 with the following command:

sudo git clone https://github.com/netdata/netdata.git --depth=100

Then, switch to the Netdata directory with the command below:

cd netdata

Enable PowerTools (crb) on AlmaLinux 9

Here you need to enable the power tools with the following command:

sudo dnf config-manager --set-enabled crb

Then, use the following commands to install the required packages:

# sudo dnf install autoconf-archive libuv-devel
# sudo ./packaging/installer/install-required-packages.sh --non-interactive --dont-wait netdata

Build and Install Netdata on AlmaLinux 9

Now run the script below to build and install Netdata on AlmaLinux:

sudo ./netdata-installer.sh

When your installation is completed, you will get the following output:

Output
 --- We are done! ---

  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata  .-.   .-.   .-.   .-.   .-.   .-
  |   '-'   '-'   '-'   '-'   '-'               '-'   '-'   '-'   '-'   '-'
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

 --- is installed and running now! ---
  enjoy real-time performance and health monitoring...

Start and Enable Netdata Service

At this point, you need to start and enable the Netdata service on AlmaLinux 9. To do this, run the commands below:

# sudo systemctl start netdata
# sudo systemctl enable netdata

Verify that Netdata is active and running on your server:

sudo systemctl status netdata
Output
● netdata.service - Real time performance monitoring
     Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor p>
     Active: active (running) since Sun 2022-10-30 05:47:15 EDT; 6min ago
   Main PID: 41963 (netdata)
      Tasks: 75 (limit: 23609)
     Memory: 159.6M
        CPU: 14.746s
     CGroup: /system.slice/netdata.service
....

Configure Firewall For Netdata

By default, Netdata listens on port 19999.

At this point, we assumed that you have enabled firewalld.

Now you need to allow traffic for Netdata through the AlmaLinux 9 firewall with the command below:

sudo firewall-cmd --permanent --add-port=19999/tcp

Then, reload the firewall to apply the new rules:

sudo firewall-cmd --reload

Access Netdata Dashboard

Here you can access the Netdata dashboard on AlmaLinux by typing your server’s IP address in your web browser followed by 19999:

http://server-ip-address:19999/

You will your system overview on the Netdata dashboard:

Netdata dashboard

That’s it, you are done.

For more information, you can visit the Netdata Documentation page.

Conclusion

At this point, you have learned to Install and Configure Netdata on AlmaLinux 9.

Hope you enjoy it.

You may be like these articles:

How To Install and Configure Netdata on Debian 11

Install and Configure Netdata on Ubuntu 22.04

Install and Configure Netdata on AlmaLinux 8

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Stay informed and not overwhelmed, subscribe now!