Netdata: monitors Linux system performance in real time

Source: Internet
Author: User

Netdata: monitors Linux system performance in real time

As the administrator of a Linux system, it is necessary to use a dedicated system monitoring tool to understand the usage of system resources at any time. If you need to monitor the performance of Linux Systems, Applications, and SNMP devices in real time, netdata is a good tool for you.

Netdata can monitor more than 2000 metrics such as CPU, memory, disk, network, process, application, Apache, NGINX, MySQL, Postfix, and Squid, and provides visualized real-time display charts, it looks clear.

Before installing netdata, you must prepare the compilation dependency:

apt-get install zlib1g-dev gcc make git \    autoconf autogen automake pkg-config           # Debian/Ubuntuyum install zlib-devel gcc make git autoconf \    autogen automake pkgconfig                     # CentOS/RHELpacman -S --needed base-devel libmnl \    libnetfilter_acct zlib                         # Arch Linux

Clone the source code of netdata and execute the compilation script:

git clone https://github.com/firehol/netdata.git --depth=1cd netdata./netdata-installer.sh

Once the compilation and installation are complete, netdata will execute/usr/sbin/netdataStart the daemon program and listen to the local19999Port.

To access netdata's Web Dashboards, we configure a reverse proxy through NGINX:

upstream backend {    server 127.0.0.1:19999;    keepalive 64;}server {    listen 80;    server_name m.bkjia.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_version 1.1;        proxy_pass_request_headers on;        proxy_set_header Connection "keep-alive";        proxy_store off;    }}

After reloading the NGINX configuration, you can access it through the http://m.bkjia.com. If you use other Web servers, refer to the netdata Wiki for configuration instructions.

→ Netdata

This article permanently updates the link address:

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.