|NO.Z.00008|——————————|Deployment|——|Hadoop&EbProjec电商实时数仓项目.v08|——|EbProject.v08|可视化&node_exporter部署.V3|
一、部署prometheus-exporter
### --- 在系统层用作系统监控exporter
~~~ # 下载exporter版本包,主机是centos系统;因此用的监控export是node_exporter-0.16.0.linux-amd64.tar.gz ,
[root@hadoop00 software]# wget -c https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-1.0.1.linux-amd64.tar.gz
### --- 解压node_exporter版本包
~~~ # 解压node_exporter版本包
[root@hadoop00 software]# tar -zxvf node_exporter-1.0.1.linux-amd64.tar.gz -C ../servers/
~~~ # 修改版本包目录名称
[root@hadoop00 servers]# mv node_exporter-1.0.1.linux-amd64/ node_exporter
[root@hadoop00 ~]# chown -R root:root /opt/yanqi/servers/node_exporter/
### --- 启动node_exporter版本包
~~~ # 启动node_exporter版本包
[root@hadoop00 ~]# nohup /opt/yanqi/servers/node_exporter/node_exporter &
二、在prometheus-web_UI下查看node_exporter是否在线
### --- 在prometheus-web_UI下查看node_exporter是否在线
~~~ 通过web-UI查看:http://hadoop00:9090/targets
Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of life.It sinks, and I am ready to depart
——W.S.Landor