Netdata is an open source tool designed to collect real-time metrics, such as CPU usage, disk activity, bandwidth usage, website visits, etc.
To download the newest versions of packages and their dependencies
To list all available packages that can be upgraded
apt list --upgradable
To install all available packages and their versions.
Now you can proceed further to install the Netdata on Debian.
To install Netdata run the following command on the server.
apt install netdata -y
The -y is used for the confirmation which will be prompted by the installer.
We need to make a small change in the configuration file.
Open the configuration file by entering the following command.
The configuration file will look like this,
[global] 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
By default, the
bind socket to IP is set to
127.0.0.1. To access the dashboard using the IP address,
you need to replace the
127.0.0.1 with your server IP address.
[global] 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 = <Enter your IP address here>
Now save the file and restart the Netdata Service using the following command.
systemctl restart netdata
If the firewall is enabled, then allow the port using the following command.
ufw allow 19999
root@server:~# ufw allow 19999 Rule added Rule added (v6)
Enter the following URL on the browser to access the Netdata dashboard. By default, netdata works on 19999 port.
The dashboard will look like this.