What is Netdata?
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.
Step 1: Install Netdata in CentOS 7
Enter the following command to install Netdata and its dependancies:
yum install zlib-devel gcc make git autoconf autogen automake pkgconfig
Step 2: Clone Netdata Repository
After those packages are downloaded and installed, we will clone the Netdata’s repository using git and run the installation script:
git clone https://github.com/firehol/netdata.git --depth=1
Go to the Netdata directory:
Execute the installer using this command:
Press Enter to start the installation process. This file /etc/netdata/netdata.conf will be created so that we can continue with the configuration process. See screenshot below:
Step 3: Run Netdata
To execute the netdata service we proceed to use the next line:
systemctl start netdata systemctl enable netdata
For Netdata communication with the network correctly we must enable port 19999 in the CentOS 7 firewall, for this we will enter the following commands:
firewall-cmd --permanent --zone=public --add-port=19999/tcp firewall-cmd –reload
The next step is to access any browser and from the address bar introduce the following syntax:
There we have access to the Netdata console where we can see all the parameters of the system in real time and with detailed information.