How to install Netdata On CentOS 8.1

To Install Netdata On CentOS 8.1

Introduction:

Netdata is an open-source scalable, real-time system performance, and health monitoring application for Unix-like systems including Linux, FreeBSD, and macOS that collects several metrics and visualizes them, and enables you to watch operations on your system. It supports several plugins for monitoring current system status, running applications, and services such as MySQL/MariaDB database server, and more. This video will cover the installation process of Netdata on CentOS 8.1

Installation Procedure:

Check the installed version of OS

[root@linuxhelp ~]# cat /etc/centos-release
CentOS Linux release 8.3.2011

Now download and install the Netdata using the script

[root@linuxhelp ~]#  bash <(curl -Ss https://my-netdata.io/kickstart.sh) all
 --- Found existing install of Netdata under: / --- 
 --- Attempting to update existing install instead of creating a new one --- 
[/root]# //usr/libexec/netdata/netdata-updater.sh --not-running-from-cron Checking if a newer version of the updater script is available.

Preparing .environment file
[/tmp/netdata-kickstart-C6jJEXd5gt/netdata-v1.26.0-400-gced86e2d]# chmod 0644 /etc/netdata/.environment 
 OK   
Setting netdata.tarball.checksum to 'new_installation'
 --- We are done! --- 
  ^
  |.-.   .-.   .-.   .-.   .-.   .  netdata                          .-.   .-
  |   '-'   '-'   '-'   '-'   '-'   is installed and running now!  -'   '-'  
  +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->
  enjoy real-time performance and health monitoring...
 OK  

Now start the Netdata service using the following command

[root@linuxhelp ~]# systemctl start netdata

Now make service enable so that on boot up it start automatically

[root@linuxhelp ~]# systemctl enable netdata

Now check status status of Netdata

[root@linuxhelp ~]# systemctl status netdata
● netdata.service - Real time performance monitoring
     Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Wed 2020-12-16 21:27:45 IST; 4s ago
    Process: 77699 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 77704 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS)
    Process: 77716 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS)
    Process: 77717 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS)
    Process: 77718 ExecStart=/usr/sbin/netdata -P /var/run/netdata/netdata.pid -D (code=exited, status=1/FAILURE)
    Process: 77719 ExecStopPost=/usr/libexec/netdata/plugins.d/reset_netdata_trace.sh (code=exited, status=0/SUCCESS)
   Main PID: 77718 (code=exited, status=1/FAILURE)
Dec 16 21:27:45 LinuxHelp systemd[1]: netdata.service: Failed with result 'exit-code'.

Now allow Netdata default port to pass through firewall

[root@linuxhelp ~]# firewall-cmd  -- permanent --add-port=19999/tcp
Success

Now reload the firewall service

[root@linuxhelp ~]#firewall-cmd --reload

Now go to the browser and enter you server ip hhtps//server-ip:19999/ in browser. This is the dashboard for the Netdata With this method the installation of Netdata on CentOs 8.3 comes to an end.

Tag : Netdata CentOS
FAQ
Q
How to check the status of Netdata?
A
To check the status of Netdata use "systemctl status netdata".
Q
Which command used to allow the Netdata port to allow in the firewall?
A
The command used to allow Netdata port to allow in the firewall firewall-cmd --permanent --add-port=19999/tcp.
Q
From where to configure Netdata?
A
The location is /etc/netdata/netdata.conf.
Q
How to download Netdata ?
A
To download Netdata use bash <(curl -Ss https://my-netdata.io/kickstart.sh) all
Q
What is Netdata?
A
Netdata is a free open source, simple and scalable, real-time system performance, and health monitoring application for Unix-like systems.