Connect with us

Linux

How to Monitor the Real-time Performance Of Ubuntu 20.04 Using Netdata

Netdata is an open-source real-time monitoring tool that provides real-time performance metrics of your server. It’s widely used by sysadmins, and operation teams to keep tabs on the health of both on-premise and cloud systems. In this guide, you will learn how to monitor the real-time performance of Netdata on Ubuntu.

Features of Netdata

Before we get down to installing Netdata, let’s briefly have an overview of some of the key features.

  1. Elegant and stunningly fast visualizations with responsive dashboards that respond to queries in less than 1ms.
  2. Minimal disk I/O.
  3. Low resource utilization – Netdata uses up just a few MBs of RAM and 1% CPU utilization per CPU core.
  4. Unlimited metrics: Netdata has the ability to collect a vast range of system metrics.
  5. Zero configuration – Netdata autodetects all the services out of the box and collects up to 10,000 metrics.

How to install Netdata on Ubuntu 20.04

Netdata is basically a monitoring agent that is created to run on Linux, macOS, FreeBSD, and containerization platforms such as Docker. As stated earlier, Netdata can be used on both physical and virtual servers, even including IoT and edge devices.

Before installing Netdata, you can gather information about it using the apt command:

The most recommended method of installing Netdata is using an automated installation script that works out of the box for all major Linux distributions such as Debian, Ubuntu, CentOS, and Fedora.

To start the installation, run the automated script as shown.

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

The script installs Netdata from source. It will begin by autodetecting your system’s distribution and version.

Install Netdata on Ubuntu 20.04

Thereafter, it will download and install all the requisite packages , dependencies and build tools. The script runs interactively, therefore be keen when you are prompted to hit ENTER.

Install Netdata on Ubuntu 20.04

Upon successful installation, you will get the following output. This confirms that the installation went on as planned.

Installation of Ubuntu successful

Running Netdata as a service

By default, Netdata listens on port 19999. You can verify this using the netstat command shown.

Netdata can be run as a systemd service unit. For example, to check the status of netdata, run the command.

To stop Netdata, run the command.

To start Netdata, run the command.

Monitor real-time performance of Netdata on Ubuntu

To access Netdata , open your browser and browse the URL:

You should get the dashboard below giving you an overview of the system metrics such as CPU and memory utilization.

 real-time performance of Netdata on Ubuntu

On the right side panel are various system metrics on which you can click on to view the dashboards. For example, to view network statistics, click on the ‘Network interfaces‘ option.

 real-time performance of Netdata on Ubuntu

And that’s what we had for today. In this guide, you learned how to monitor the real-time peformance of Netdata on Ubuntu 20.04.

Continue Reading
Advertisement

Trending