Advance

How To Install NetData To Monitoring Debian 10

How To Install NetData To Monitoring Debian 10
3
(2)

In the following of Server Monitoring Tools Tutorial, in this guide, you will learn how to install NetData on Debian 10. Before discussing this tool, have a look at the perfect Linux VPS Packages available on Eldernode and purchase one to let this guide work better and enjoy our supportive team services and best prices. If you need to visualize the processes and services on your system, NetData is free, simple, and easy to use with extensible web dashboards. Also, as an IT professional or server administrator, you need to monitor the usage of CPU, RAM, disk I/O, and network traffic. NetData will help you without disrupting your system’s core function.

Tutorial Install NetData To Monitoring Debian 10

To let this tutorial work better, please consider the below Prerequisites:

1- Debian 10 Desktop/Server installed on your system

2- Connecting via SSH as a non-root user with sudo privileges

3- To set up, follow our Initial Setup with Debian 10

Recommended Article: Learn important PowerShell commands
Since NetData is designed to be installed on each Linux system, join us with this article to review how this open-source tool and monitoring agent will be installed to monitoring Debian 10 to get an overview of what is happening in real-time on your Linux.

Install NetData To Monitoring Debian 10

Let’s go through the 7 steps of this guide to learn and finish it.

How To Update System

As always, in the first step try to update your system due to some security purpose:
sudo apt-get update
sudo apt-get upgrade

How To Install Dependencies

To install NetData, you need to install the dependencies. To install all required dependencies, run:
sudo apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl

How To Install Netdata

In this step, the official installation script will help you to start installing NetData. To make sure, you run bash for your shell, type:

bash

Then, you can install Netdata directly from the GitHub source:

git clone https://github.com/firehol/netdata.git --depth=1 ~/netdata

Type the following command to change the directory to the cloned directory:

cd netdata

Run the command below to install the Netdata using the netdata-installer.sh script:

sudo ./netdata-installer.sh

Do not neglect to press Enter to start the installation while the installation process is running. Then, you see the Netdata daemon will start. Also, to be able to start, stop, and get the status of the Netdata service use the command below:

sudo systemctl start netdata
sudo systemctl stop netdata
sudo systemctl status netdata
Recommended Article: Prevent copying of data on USB in Windows 10

How To Configure Firewall

While NetData is running on port 19999, you should allow it through the UFW firewall. Please be aware that the UFW is not  installed in Debian 10 by default and you need to use the following command to install it:

sudo apt-get install ufw -y

To enable the UFW after installation, run:

sudo ufw enable

Now, you should allow port 19999 using the UFW firewall:

sudo ufw allow 19999/tcp

And finally, to reload the firewall to apply all the changes, type:

sudo ufw reload

No delay after configuring UFW, you are ready to proceed to access the NetData web interface.

How To Access Netdata Web Interface

To view the monitoring interface, you need to type the URL http://your-server-ip:19999 in your web browser to be redirected to the Netdata dashboard.

http://<your-server-IP>:19999

Then, you can edit the NetData configuration file to provide more configuration:

sudo vi /etc/netdata/netdata.conf

And finally, to view the current configuration, run:

http://<your-server-IP>:19999/netdata.conf

How To Uninstall Netdata

Use the command below to remove Netdata from your system:

cd netdata
sudo /netdata-uninstaller.sh --force

How To Update NetData

Finally, run the following command to update the Netdata to the latest version:

cd netdata
git pull
sudo ./netdata-installer.sh

 

Conclusion

In this article, you learned How To Install NetData To Monitoring Debian 10. From now, you can use this tool to monitor various system metrics in real-time. In case you are interested in reading more, find the related article on Introducing NetData Monitoring System for Linux.

How useful was this post?

Click on a star to rate it!

Average rating 3 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

View More Posts
Tom Veitch
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day