How to install Netdata on CentOS 7

Estimated reading: 2 minutes 123 views

Netdata is a distributed, real-time performance and health monitoring system.
Before proceeding with this guide, make sure:

  • You have a freshly deployed CentOS 7 server instance.
  • The software packages are up-to-date.

The IP address 19.x.x.x ( IP Address ) is an example.

1. Install Dependencies

To install Netdata, you need to install the dependencies below:

$ sudo yum install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autogen automake pkgconfig
$ sudo yum install curl jq nodejs

2. Install Netdata

Install Netdata with the official installation script:

  • Make sure you run bash for your shell
$ bash
  • Install Netdata directly from GitHub source
$ bash <(curl -Ss https://my-netdata.io/kickstart.sh)

If no errors occur during installation, the Netdata daemon will start.

3. Modify Firewall Rules

Confirm the installation by opening your web browser and visiting the monitoring interface of Netdata at http://19.x.x.x:19999

4. Setup Systemd Service Unit

For convenience, put Netdata under the control of systems:

$ sudo yum install psmisc
$ sudo killall netdata
$ sudo cp ~/netdata/system/netdata.service /etc/systemd/system/
$ sudo systemctl daemon-reload
$ sudo systemctl start netdata.service
$ sudo systemctl enable netdata.service

To further configure Netdata, edit the configuration file:

$ sudo vi /etc/netdata/netdata.conf

You can also view the current configuration at http://19.x.x.x:19999/netdata.conf

That concludes our tutorial, thank you for reading.


Leave a Comment