How to Install Netdata on CentOS 7

Install Netdata on CentOS 7

In this tutorial we are going to learn how to install Netdata on CentOS 7. We will also install and configure its prerequisites. Netdata is an application that has been developed with the objective of analyzing in real time the state of performance and health of the system and its respective components. With Netdata we can monitor physical, virtual, or IoT devices.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Netdata on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step 2. Install dependencies.

In order to install Netdata, you need to install the dependencies below:

yum install zlib-devel gcc make git autoconf autogen automake pkgconfig

Step 3. Installing Netdata on CentOS 7.

First, we will clone the application’s repository using git and run the Netdata installation script:

git clone https://github.com/firehol/netdata.git --depth=1
cd netdata
./netdata-installer.sh

During the installation process, Press ENTER to start the installation.

Step 4. Configure Firewall for Netdata.

Allow the port in the firewall as follows:

sudo firewall-cmd --permanent --zone=public --add-port=19999/tcp
sudo firewall-cmd --reload

Step 5. Accessing Netdata.

When finished, open a web browser from other computer and type the server ip address with the following format:

http://ip-address:19999

Congratulation’s! You have successfully install Netdata on your CentOS 7 server. Thanks for using this tutorial for installing Netdata Monitoring on CentOS 7 system.