netdata简介
这是个开源项目,项目介绍WIKI:https://github.com/firehol/netdata/wiki
我已经使用这套监控系统一段时间了,感觉很不错,监控指标丰富,界面美观,能监控集群下的所有节点服务器,它是个什么东东呢?
”netdata is a scalable, distributed, real-time, performance and health monitoring solution for Linux, FreeBSD and MacOS. It is open-source too.”
netdata是一个可扩展的,分布式的,实时的,为Linux, FreeBSD和MacOS性能及健康状态监控的解决方案,当然它也是开源的。
它可以监控服务器的健康运行参数及状态,包括CPU,内存,网络,磁盘等常用的监控指标,以及自己配置扩展监控项,如,redis, tomcat, mysql, nginx, elasticsearch等,是不是已经觉得很不错了?那接下来我说说我是怎么安装的,怎么配置的吧。
安装配置
下载
由于开源项目,直接克隆一套源代码到YOUR_SERVER/path/to/
1git clone https://github.com/firehol/netdata.git安装
1.安装编译所需要的包
1yum -y install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autogen automake pkgconfig2.运行自带的安装启动脚本
1./netdata-installer.sh完事你会看到如下提示:
12345678910111213It will be installed at these locations:- the daemon at /usr/sbin/netdata- config files in /etc/netdata- web files in /usr/share/netdata- plugins in /usr/libexec/netdata- cache files in /var/cache/netdata- db files in /var/lib/netdata- log files in /var/log/netdata- pid file at /var/run/netdata.pid- logrotate file at /etc/logrotate.d/netdataThis installer allows you to change the installation path.Press Control-C and run the same command with --help for help.Press ENTER to build and install netdata to your system >这些是告诉你,所涉及的文件都安装在哪个目录下,到时配置或修改的时候直接去这些地方找就好了,当然自己也可以仔细看看这些配置文件,了解各个参数的含义。
那么这个时候其实就可以通过提示的URL http://this.machine.ip:19999/ 开始监控当前服务器了, 没错,正如访问地址,默认WEB使用的端口为19999.
看看netdata监控界面长啥样儿吧~