【prometheus】node_exporter部署及数据grafana展示
作者:互联网
server安装
安装包下载
wget https://github.com/prometheus/prometheus/releases/download/v2.31.1/prometheus-2.31.1.linux-amd64.tar.gz
解压并放至/opt/prometheus目录下
启动
/opt/prometheus/prometheus-2.31.1/prometheus --config.file=/opt/prometheus/prometheus-2.31.1/prometheus.yml
node_exporter
安装包下载
wget https://github.com/prometheus/node_exporter/releases/download/v1.3.0/node_exporter-1.3.0.linux-amd64.tar.gz
解压后启动
/opt/prometheus/node_exporter-1.3.0/node_exporter
node_exporter加入至server targets中
重启server
grafana模板导入数据展示
导入模板
标签:node,opt,exporter,2.31,grafana,prometheus,server 来源: https://blog.csdn.net/weixin_41953276/article/details/121741074