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,
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.
[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)... 220.127.116.11, 18.104.22.168, 2a06:98c1:3121::3, ... Connecting to my-netdata.io (my-netdata.io)|22.214.171.124|: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  --- 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
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
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.