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: