How to Install Netdata on Rocky Linux 9

Netdata is an Open Source real-time server monitoring tool. It collects real-time data like CPU usage, RAM usage, Load, SWAP usage, Bandwidth usage, Disk usage, etc.

Check for System Updates

First, we will update the system to the latest with the following commands,

dnf update

Installing EPEL Repo

Install EPEL Repo by running the following command.

dnf install epel-release -y

Install required packages for Netdata

Install required packages for Netdata by running the following command.

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh

The script may prompt you for input before installing any packages, please input Y or Yes to accept the packages being installed.

Output:

 [root@server ~]# wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --disable-telemetry

--2022-07-21 21:22:41--  https://my-netdata.io/kickstart.sh
Resolving my-netdata.io (my-netdata.io)... 188.114.97.3, 188.114.96.3, 2a06:98c1:3121::3, ...
Connecting to my-netdata.io (my-netdata.io)|188.114.97.3|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘/tmp/netdata-kickstart.sh’

/tmp/netdata-kickstart.sh                           [ <=>                                                                                                 ]  75.12K  --.-KB/s    in 0.001s

2022-07-21 21:22:41 (87.6 MB/s) - ‘/tmp/netdata-kickstart.sh’ saved [76921]

 --- Using /tmp/netdata-kickstart-nGisWsmj1w 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. ---

.........
..........
.............

Thu Jul 21 09:24:22 PM CEST 2022 : INFO: netdata-updater.sh:  Auto-updating has been ENABLED through cron, updater script linked to /etc/cron.daily/netdata-updater\n
Thu Jul 21 09:24:22 PM CEST 2022 : 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.
Thu Jul 21 09:24:22 PM CEST 2022 : INFO: netdata-updater.sh:  Successful updates will not send an email.
Successfully installed the Netdata Agent.

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/

Once the installation is complete, start and enable Netdata to start up automatically on boot/reboot and verify the application status using the commands below.

systemctl start netdata

systemctl enable netdata

systemctl status netdata

Firewall Configuration

Netdata listens on port 19999 by default, enabling ports in the firewall to use Netdata from the browser.

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

Netdata Dashboard

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.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS