Node Exporter安装

安装
https://prometheus.io/download/
doc
https://prometheus.io/docs/guides/node-exporter/

mkdir /usr/local/prometheus && cd /usr/local/prometheus

wget https://github.com/prometheus/node_exporter/releases/download/v1.8.2/node_exporter-1.8.2.linux-amd64.tar.gz

tar xvfz node_exporter-1.8.2.linux-amd64.tar.gz

cd node_exporter-1.8.2.linux-amd64

nohup ./node_exporter --web.listen-address=:19100 &

查找端口盏用情况
lsof -i :9100
netstat -tulnp | grep :19100

curl http://localhost:19100/metrics

posted @ 2024-09-05 15:50  kunchengs  阅读(134)  评论(0)    收藏  举报