Prometheus监控系列 | blackbox_exporter配置实战
- 1. blackbox简介
- 2. blackbox_exporter部署
- 2.1. 下载安装包
- 2.2. 配置启动文件
- 3. blackbox_exporter配置文件详解
- 3.1. HTTP监控
- 3.2. TCP监控
- 3.3. ICMP监控
- 4. 监控域名SSL证书的到期时间
- 5. 配置Prometheus配置文件
- 6. Grafana监控展示图
1. blackbox简介
Prometheus所有的监控基本上都依托于各种各样的exporter,但是还有众多的未被收录的第三方开源的exporter,用于特定中间件的监控。
bloackbox exporter是prometheus社区提供的黑盒监控解决方案,用户通过HTTP、HTTPS、DNS、TCP以及ICMP的方式从外部对网络进行探测。
2. blackbox_exporter部署
2.1. 下载安装包
官方安装包:https://github.com/prometheus/blackbox_exporter
官方软件包下载地址:https://github.com/prometheus/blackbox_exporter/releases
[root@promethues-client ~]# wget https