Skip to main content

[Netdata] Get ready with server monitoring

Updated over a week ago

The Netdata service monitors performance through Web panels that visualize the processes and services of the Linux system. It monitors CPU, memory, disk, network, process metrics, and many other metrics.
​
Netdata does not require additional configuration after installation, but the default configuration does. The performance and speed of the application are comparable to those of the built-in console tools, such as vmstat, iostat, and htop.
​

This guide is prepared on Ubuntu 22.04.

However, it should work with our other Ubuntu and Debian versions.

1. Start by upgrading/upgrading our system

Run the command below to update and upgrade the system:

sudo apt update -y
sudo upgrade -y

2. Install the Netdata monitoring tool

To install Netdata on the server, run the command:

sudo apt install netdata -y

A minor adjustment to the configuration file is required.

Open configuration file:

nano /etc/netdata/netdata.conf

We need to adjust [global] section:

run as user = netdata 
web files owner = root
web files group = root
# Netdata is not designed to be exposed to potentially hostile
# networks. See https://github.com/netdata/netdata/issues/164
bind socket to IP = 127.0.0.1

Adjust the bind socket row and add your server's IP address.

To save changes in the nano editor, press CTRL + O, Enter, and CTRL + X.

3. Access Netdata in Browser

The Netdata service is listening on port 19999.

You can access the Netdata GUI at http://your_server_ip:19999/

Example of what you should see:

Did this answer your question?