标签:cst ESS group exe load art mem sys address
用来监控服务器私有信息,cpu、memory、IO
wget https://github.com/prometheus/node_exporter/releases/download/v0.15.2/node_exporter-0.15.2.linux-amd64.tar.gz
tar -xf node_exporter-0.15.2.linux-amd64.tar.gz
cp node_exporter-0.15.2.linux-amd64/node_exporter /usr/local/bin/
chown node_exporter.node_exporter /usr/local/bin/node_exporter
cat >> /usr/lib/systemd/system/node_exporter.service << EOF
[Unit]
Description=Prometheus node exporter
After=local-fs.target network-online.target network.target
Wants=local-fs.target network-online.target network.target
[Service]
User=node_exporter
Group=node_exporter
Type=simple
ExecStart=/usr/local/bin/node_exporter \ --web.listen-address=:9093
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable node_exporter
http://10.10.16.7:9093/metrics 查看所有的采集信息
标签:cst ESS group exe load art mem sys address
原文地址:https://www.cnblogs.com/knmax/p/9297306.html