Netdata is a free, open source and simple tool for monitoring the health of the system in the form of a web page with a beautiful front end. With this tool, you can use the cpu function, the amount of RAM used, network traffic, postfix and other features. Netdata quickly and effectively captures the momentum performance of the Linux, mac, freebsd, and snmp devices. In this tutorial, we’re going to look at how to install Netdata on Linux Ubuntu 18.04 LTS (bionic beaver) server.
- A server that installs Linux Ubuntu 18.04.
- Use the root user to have access permission using the sudo command
- By default, NetData is available in Ubuntu 18 repositories
You can easily install it using the following command:
Sudo apt-get install netdata -y
After you complete the Netdata installation process, you can do the next steps.
By default, the netdata configuration file is located in /etc/netdata/netdata.conf. Now open the file with the following command and change the IP address of the IP leapback server to your server’s IP address:
Sudo nano /etc/netdata/netdata.conf
Apply the following changes:
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/firehol/netdata/issues/164
bind socket to IP = 192.168.0.234
Save and close the file and re-establish your Netdata service to make the changes.
Sudo systemctl restart netdata
You can see the Netdata status using the following command:
Sudo systemctl status is offline
The output will be as follows:
? netdata.service – netdata – Real-time performance monitoring
Loaded: loaded (/lib/systemd/system/netdata.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2018-08-16 06:03:01 UTC; 3min 29s ago
Docs: me: netdata
Main PID: 3317 (No data)
Task: 14 (limit: 2855)
?? 3317 / usr / sbin / netdata -D
?? 3350 bash /usr/lib/x86_64-linux-gnu/netdata/plugins.d/tc-qos-helper.sh 1
?? 3353 /usr/lib/x86_64-linux-gnu/netdata/plugins.d/apps.plugin 1
Aug 16 06:03:01 ubuntu1804 systemd : Stopped netdata – Real-time performance monitoring.
Aug 16 06:03:01 ubuntu1804 systemd : Started netdata – Real-time performance monitoring.
NetData is now installed and is available on the 19999 port via the browser at http: // xxxx: 19999. You will be taken to the Netdata default dashboard after you login.