added support for the blackbox exporter
This commit is contained in:
parent
7997ebfb59
commit
f772558e31
6 changed files with 113 additions and 7 deletions
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue