prometheus虚拟化安装脚本
在线安装下载链接:https://files.cnblogs.com/files/blogs/705493/online_prometheus.sh
离线安装下载链接:https://files.cnblogs.com/files/blogs/705493/prometheus.sh

安装完成后需要修改prometheus.yml文件增加监控主机
static_configs:
- targets: ['localhost:9090']
- job_name: "linux"
scrape_interval: 5s
static_configs:
- targets: ['192.168.2.46:9100']
labels:
hostname: master
本文来自博客园,作者:Jerry·,转载请注明原文链接:https://www.cnblogs.com/jerry-0910/p/15396195.html

浙公网安备 33010602011771号