介绍
Netdata通过可扩展的Web仪表板提供准确的性能监控,可以显示Linux系统上的流程和服务。它监控有关CPU,内存,磁盘,网络,进程等指标。
Netdata官网地址:https://my-netdata.io/
安装Netdata
sudo apt install zlib1g-dev gcc make git autoconf autogen automake pkg-config uuid-devgit clone https://github.com/firehol/netdata.git --depth=1cd netdatasudo ./netdata-installer.sh
最初将看到的输出包含有关Netdata将存储其所有组件的位置的信息,如下:
. . . ?It will be installed at these locations: ??- the daemon ???at /usr/sbin/netdata ??- config files ?at /etc/netdata ??- web files ????at /usr/share/netdata ??- plugins ??????at /usr/libexec/netdata ??- cache files ??at /var/cache/netdata ??- db files ?????at /var/lib/netdata ??- log files ????at /var/log/netdata ??- pid file ?????at /var/run. . .
按Enter
继续安装。之后在输出的末尾,将看到以下消息:
--- We are done! --- ??^ ?|.-. ??.-. ??.-. ??.-. ??.-. ??. ?netdata ?????????????????????????.-. ??.- ?| ??‘-‘ ??‘-‘ ??‘-‘ ??‘-‘ ??‘-‘ ??is installed and running now! ?-‘ ??‘-‘ ???+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> ?enjoy real-time performance and health monitoring...
此时已安装完成。为Netdata的内部Web服务器打开端口19999
sudo ufw allow 19999/tcp
在浏览器中访问 http://server_id:19999/
来查看监控界面。
监控页面
Ubuntu安装netdata监控平台
原文地址:https://www.cnblogs.com/miaomiao1014/p/10215959.html