环境
CentOS 7.9
安装
1、命令下载
wget https://github.com/prometheus/node_exporter/releases/download/v1.6.1/node_exporter-1.6.1.linux-amd64.tar.gz
tar -zxf node_exporter-1.6.1.linux-amd64.tar.gz
mv node_exporter-1.6.1.linux-amd64 /home/node_exporter
2、配置系统服务
cat >/etc/systemd/system/node_exporter.service<<EOF [Unit] Description=Node Exporter After=network.target [Service] ExecStart=/home/grafana/node_exporter-1.6.1.linux-amd64/node_exporter --collector.netstat --log.level=error --web.listen-address=0.0.0.0:9100 ExecReload=/bin/kill -HUP \$MAINPID [Install] WantedBy=multi-user.target EOF
3、启动、查看状态(默认端口9100)
systemctl start node_exporter
systemctl status node_exporter -l
标签:node,1.6,exporter,amd64,接入,linux From: https://www.cnblogs.com/sefuture/p/17807880.html