How to install Netdata to monitor your linux system

How to install Netdata to monitor your linux system

This article will tell how to install Netdata to monitor your linux system such as Linux Centos 7, Centos 8 or Ubuntu.

Netdata is very power full real time monitoring tools for Linux that are monitor all system health.

The best way to install Netdata is using one line command from Netdata, including required system packages, compile Netdata, install Netdata and start Netdata.

How to install Netdata real time monitoring

Below is single line command to install Nedata

There is no problem when you installing Netdata on Centos 7.

But on Centos 8, if you see an error, just ignore and enter to start Netdata installation.

The problem is Netdata doen not have user authentication.

So we will use Nginx http authentication or Apache http authentication.

Add nginx upstream configuration like below:

Add the following code to server block:

Create user authentication, for example username is serverdiary

Netdata configuration to monitor Nginx

Enable Nginx status to monitor your Nginx, copy code below and save to /etc/nginx/conf.d/status.conf

Restart Nginx to load new configuration

Create file /etc/netdata/python.d/nginx.conf and paste the following code

How to Monitoring Nginx with Netdata
How to Monitoring Nginx with Netdata

Netdata configuration to monitor Apache

Enable Extended Status on your apache configuration, create /etc/httpd/conf.d/status.conf and paste code below

Restart apache / httpd to reload new configuration

Create file /etc/netdata/python.d/apache.conf and paste the following code

Restart Netdata with command

How to Monitoring Apache with Netdata
How to Monitoring Apache with Netdata

Open browser and check on http://yourdomain/netdata

One thought on “How to install Netdata to monitor your linux system

Leave a Reply

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