Learn How To Installing Netdata on Linux (CentOS, Debian, Ubuntu, and Others)

January 13, 2019

Table of Contents

Netdata is a free, open source, real-time monitoring tool which is actively maintained, easy to setup and ships with a beautiful dashboard UI accessible using a web browser. Using Netdata, you can easily monitor every parameter of your IT Web Services instance in real time with little to no overhead. Netdata is very lightweight and requires at most 1% CPU and about 20MB of RAM in most cases.

Installing Netdata

Netdata comes with a set up script which can be run on different distributions with ease. The setup script currently supports the following distributions:

  • Arch
  • Gentoo
  • Debian
  • Ubuntu
  • Sabayon
  • CentOS
  • Redhat
  • Fedora
  • OpenSUSE
  • SUSE

To install Netdata, simply run the following command.

# install required packages for all netdata plugins
bash <(curl -Ss https://my-netdata.io/kickstart.sh) all

What this script does:

  • Detects the distro and installs the required system packages for building Netdata (will ask for confirmation).
  • Downloads the latest Netdata source tree to /usr/src/netdata.git.
  • Installs Netdata by running ./netdata-installer.sh from the source tree.
  • Installs netdata-updater.sh to cron.daily, so your Netdata installation will be updated daily (you will get a message from cron only if the update fails).

After running the kickstart.sh script, Netdata installs all requirements using your linux native package manager, then proceeds to install itself.

Using Netdata dashboard

After the installation phase, you may simply browse to http://192.0.2.139:19999 to access Netdata.

Be sure to replace 192.0.2.139 with your actual IP address.

Configuring or changing default settings

Netdata settings can be modified to your liking by editing the config file.

sudo vi /etc/netdata/netdata.conf

Changing default port

To change the default web UI port to a custom port, simply edit the configuration file and change the following lines. Under the [web] section, uncomment the following line.

# default port = 19999

It should look like the following.

default port = <Your-Desired-Port>

Save and exit.

Restart Netdata.

systemctl restart netdata

Now, browse to http://192.0.2.139:<Your-Desired-Port>.

Controlling Netdata service

You can control Netdata like a regular service with the following commands on a system that uses SystemD.

systemctl start netdata   #start netdata service
systemctl stop netdata    #stop netdata service
systemctl restart netdata #restart netdata service
systemctl status netdata  #status of the netdata service

Need help?

Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!