CentOS installation Netdata Real-time monitoring of Linux system performance

Source: Internet
Author: User

As an administrator of a Linux system, it is necessary to use specialized system monitoring tools to keep abreast of system resource usage. If you need real-time performance monitoring of Linux systems, applications, and SNMP devices, then the Netdata tool will be a good helper for you.
Its web front end responds quickly and does not require a Flash plugin. The UI is neat, keeping the netdata features. At first glance, you can see a lot of charts, and fortunately the vast majority of commonly used chart data (like Cpu,ram, network and hard drives) are at the top. If you want to learn more about graphical data, you only need to scroll down the scrollbar, or click on the item in the right menu. With the buttons at the bottom right of each chart, Netdata also lets you control the display, reset, and zoom of the chart.

Installation:
This only writes out the installation via Git download
If you don't have git installed, install git first

sudo Yum Install git  

After you install Git, you have to "clone" the repository into your system. Run the following command.

$ git clone https://github.com/firehol/netdata.git  

This command clones (or copies) the repository in the current working directory.
Next you need to install some dependent packages

Yum Install GCC  make git autoconf autogen automake pkgconfig

When all the required packages are installed, you will CD to the netdata/directory and run the netdata-installer.sh script.

sudo ./netdata-installer. SH

You will then be prompted to press ENTER to start the installation process. If you want to continue, just press ENTER.

See this picture even if the installation is successful.
Using Netdata
Once the compilation is complete, Netdata executes the/usr/sbin/netdata startup daemon program and listens to the 19999 port on this machine.
In order to access the Netdata Web Dashboards, here we configure a reverse proxy via NGINX:
Create a new xxx.conf file with the following contents:

Upstream Backend {server127.0.0.1:19999; KeepAlive -; } Server {Listen the;      server_name netdata.local.com; Location/{proxy_set_header X-forwarded-Host $host; Proxy_set_header X-forwarded-Server $host; Proxy_set_header X-forwarded-For $proxy _add_x_forwarded_for; Proxy_pass http://backend; Proxy_http_version1.1;          Proxy_pass_request_headers on; Proxy_set_header Connection"keep-alive";      Proxy_store off; }  }  

After you overload the NGINX configuration, you can access it via http://netdata.local.com. If you use a different Web server, then refer to the Netdata Wiki for configuration instructions

CentOS installation Netdata Real-time monitoring of Linux system performance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.