How To Install Netdata on Debian 9

Netdata is a distributed real-time monitoring system for server uptime and performance. This guide focuses on operating systems such as Debian 9

Installing dependencies

First of all, in order to install Netdata, you need to install the following dependencies. You must enter the following into the command line:

sudo apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl

Installing Netdata

With the following installation script, you will be able to install Netdata. Make sure you are using bash

$ bash

Install Netdata directly from the GitHub source

$ bash <(curl -Ss https://my-netdata.io/kickstart.sh)

If everything was done correctly, then the Netdata daemon will be started after that. To check the status of Netdata services, you can run the following commands:

$ sudo systemctl start netdata
$ sudo systemctl stop netdata
$ sudo systemctl status netdata

Change firewall status

Before you can access the Netdata web interface, you need to change the firewall rules to allow traffic on port 19999, this is the default communication port for Netdata

$ sudo firewall-cmd --permanent --zone=public --add-port=19999/tcp
$ sudo firewall-cmd --reload

After the changes, you need to restart the firewall. To do this, you can use the following command:

$ service firewalld restart

View The Monitoring Interface

In this step, you need to confirm the installation. To do this, open the interface in a web browser and visit the monitoring interface for Netdata. http://your_server_IP:19999

As for further configuring Netdata, you need to edit its configuration file:

$ sudo vi /etc/netdata/netdata.conf

To view the current configuration:

http://your_server_IP:19999/netdata.conf

Was this article helpful?

Related Articles

Leave A Comment?