摘要:
打开prometheus监控控制台:http://172.16.23.120:9090/graph 1.获取cpu使用率:100-(avg(irate(node_cpu_seconds_total{mode="idle"}[5m])) by(instance) *100) 其中irate函数:ira 阅读全文
摘要:
基础信息配置: 角色 ip port hostname prometheus server 172.16.23.120 9090 master node_exporter master 172.16.23.120 9100 master node_exporter node1 172.16.23.1 阅读全文
摘要:
1.prometheus服务端监控安装 # cd /usr/local/# wget https://github.com/prometheus/prometheus/releases/download/v2.21.0/prometheus-2.21.0.linux-amd64.tar.gz# ta 阅读全文