Netdata安装以及汉化
Linux下netdata中文版安装以及汉化
Netdata 是一款 Linux 性能实时监测工具.。以web的可视化方式展示系统及应用程序的实时运行状态(包括cpu、内存、硬盘输入/输出、网络等linux性能的数据)。炫酷的界面来显示你的服务器性能。还能显示Nginx ,Java项目等性能,具体操作的参考github上
github地址 https://github.com/netdata/netdata
还能监控我的容器
1. 安装需要的环境
974 yum install zlib-devel gcc make autoconf autogen automake pkgconfig libuuid-devel 975 yum install gcc libuv-devel
2. 下载压缩包
969 tar -zvxf netdata-v1.22.1.tar.gz 970 ll 971 cd netdata-v1.22.1 972 ll 973 ./netdata-installer.sh
3.启动
[root@cicd ~]# systemctl status netdata ● netdata.service - Real time performance monitoring Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2020-06-20 13:13:20 EDT; 1 day 16h ago Process: 19301 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS) Process: 19298 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS) Process: 19295 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS) Process: 19293 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS) Main PID: 19304 (netdata) Tasks: 31 Memory: 82.2M CGroup: /system.slice/netdata.service ├─ 6625 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1 ├─19304 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D ├─19415 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1 ├─19418 /usr/libexec/netdata/plugins.d/apps.plugin 1 └─19421 /usr/libexec/netdata/plugins.d/go.d.plugin 1 Jun 20 13:13:20 cicd systemd[1]: Starting Real time performance monitoring... Jun 20 13:13:20 cicd systemd[1]: Started Real time performance monitoring. Jun 20 13:13:20 cicd netdata[19304]: CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults. Jun 20 13:13:20 cicd netdata[19304]: 2020-06-20 13:13:20: netdata INFO : MAIN : CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud... defaults. Jun 20 13:13:20 cicd netdata[19304]: SIGNAL: Not enabling reaper Jun 20 13:13:20 cicd netdata[19304]: 2020-06-20 13:13:20: netdata INFO : MAIN : SIGNAL: Not enabling reaper Hint: Some lines were ellipsized, use -l to show in full. [root@cicd ~]# systemctl stop netdata [root@cicd ~]# systemctl start netdata [root@cicd ~]# systemctl status netdata ● netdata.service - Real time performance monitoring Loaded: loaded (/usr/lib/systemd/system/netdata.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-06-22 05:54:15 EDT; 3s ago Process: 11160 ExecStartPre=/bin/chown -R netdata:netdata /var/run/netdata (code=exited, status=0/SUCCESS) Process: 11157 ExecStartPre=/bin/mkdir -p /var/run/netdata (code=exited, status=0/SUCCESS) Process: 11153 ExecStartPre=/bin/chown -R netdata:netdata /var/cache/netdata (code=exited, status=0/SUCCESS) Process: 11152 ExecStartPre=/bin/mkdir -p /var/cache/netdata (code=exited, status=0/SUCCESS) Main PID: 11163 (netdata) Tasks: 32 Memory: 61.7M CGroup: /system.slice/netdata.service ├─11163 /usr/sbin/netdata -P /var/run/netdata/netdata.pid -D ├─11267 bash /usr/libexec/netdata/plugins.d/tc-qos-helper.sh 1 ├─11271 /usr/bin/python /usr/libexec/netdata/plugins.d/python.d.plugin 1 ├─11273 /usr/libexec/netdata/plugins.d/go.d.plugin 1 └─11276 /usr/libexec/netdata/plugins.d/apps.plugin 1 Jun 22 05:54:15 cicd systemd[1]: Starting Real time performance monitoring... Jun 22 05:54:15 cicd systemd[1]: Started Real time performance monitoring. Jun 22 05:54:15 cicd netdata[11163]: CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud.conf'. Running with internal defaults. Jun 22 05:54:15 cicd netdata[11163]: 2020-06-22 05:54:15: netdata INFO : MAIN : CONFIG: cannot load cloud config '/var/lib/netdata/cloud.d/cloud... defaults. Jun 22 05:54:15 cicd netdata[11163]: SIGNAL: Not enabling reaper Jun 22 05:54:15 cicd netdata[11163]: 2020-06-22 05:54:15: netdata INFO : MAIN : SIGNAL: Not enabling reaper Hint: Some lines were ellipsized, use -l to show in full. [root@cicd ~]#
netdata汉化