Table of Contents
Try Vultr Today with

$50 Free on Us!

Want to contribute?

You could earn up to $300 by adding new articles!

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

Published on: Thu, Feb 22, 2018 at 12:31 pm EST
Linux Guides Server Apps

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 Vultr 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 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 ./ from the source tree.
  • Installs 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 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 to access Netdata.

Be sure to replace 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<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

Want to contribute?

You could earn up to $300 by adding new articles