Netdata is a system for distributed real-time performance and health monitoring. It provides unparalleled insights, in real-time, of everything happening on the system it runs (including applications such as web and database servers), using modern interactive web dashboards.
Netdata is fast and efficient, designed to permanently run on all systems (physical & virtual servers, containers, IoT devices), without disrupting their core function.
Netdata runs on Linux, FreeBSD, and MacOS.
Step 1: Update the system
For security purposes, update the system to the latest stable status using YUM:
# yum update -y
After the reboot finishes, log in with the same sudo user.
Step 2: Install dependencies
In order to install Netdata, you need to install the dependencies below:
# yum install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autogen automake pkgconfig
# yum install curl jq nodejs
Step 3: Install Netdata
Install Netdata with the official installation script:
# cd ~
# git clone https://github.com/firehol/netdata.git –depth=1
# cd netdata
# sudo ./netdata-installer.sh
During the installation process, Press ENTER to start the installation.
If no errors occur during installation, the Netdata daemon will start.
Step 4: Modify firewall rules
Before you can access Netdata’s web interface, you need to modify firewall rules to allow traffic on port 19999, the default communication port of Netdata:
# firewall-cmd –permanent –zone=public –add-port=19999/tcp
# firewall-cmd –reload
Step 5: View the monitoring interface
Confirm the installation by opening your web browser and visiting the monitoring interface of Netdata:
Step 6: Setup systemd service unit for netdata
For convenience, put Netdata under the control of systemd:
# yum install psmisc
# killall netdata
# cp ~/netdata/system/netdata.service /etc/systemd/system/
# systemctl daemon-reload
# systemctl start netdata.service
# systemctl enable netdata.service
That’s it. To further configure Netdata, edit its configuration file:
# vi /etc/netdata/netdata.conf
You can also view the current configuration at: