shenmingbusujiku / Linux

关于Linux的学习和项目
0 stars 0 forks source link

prometheus-exporter 部署 #3

Open shenmingbusujiku opened 2 years ago

shenmingbusujiku commented 2 years ago

1.在检测的客户端安装 官网中找到自己想要的Exporter并进行下载https://prometheus.io/download/ 2.下载二进制包,解压缩 wget https://github.com/prometheus/node_exporter/releases/download/v1.1.1/node_ex porter-1.1.1.linux-amd64.tar.gz tar -zxvf node_exporter-1.1.1.linux-amd64.tar.gz -C /data/ cd /data/ chown -R root:root node_exporter-1.1.1.linux-amd64 ln -sv node_exporter-1.1.1.linux-amd64 node_exporter 3.启动node_exporter cd /data/node_exporter yum install -y screen screen -S prometheus-exporter ./node_exporter

shenmingbusujiku commented 2 years ago

与Prometheus server集成: vim prometheus.yml