added support for the blackbox exporter

This commit is contained in:
nd 2020-06-06 23:41:06 +02:00
parent 7997ebfb59
commit f772558e31
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
6 changed files with 113 additions and 7 deletions

View file

@ -199,6 +199,30 @@ prometheus_agent:
'web.listen-address': "[::1]:9100"
proxy:
mappings: {}
blackbox:
enable: False
args:
"web.listen-address": "[::1]:9115"
"config.file": "/etc/prometheus/blackbox.yml"
config:
modules:
http_2xx:
prober: http
http:
http_post_2xx:
prober: http
http:
method: POST
tcp_connect:
prober: tcp
ssh_banner:
prober: tcp
tcp:
query_response:
- expect: "^SSH-2.0-"
icmp:
prober: icmp
jobs: {}
scrape_timeout: ~
scrape_interval: ~
scrapers: {}