summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/server/templates/job-snippets/blackbox-ssh.j2
blob: 18381e32cb66c5385c175bc57ec03831faab66ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  - job_name: '{{ job }}'
    metrics_path: /proxy
    params:
      module:
      - blackbox
      - ssh_banner
    scheme: https
    tls_config:
      ca_file: /etc/ssl/prometheus/ca-crt.pem
      cert_file: /etc/ssl/prometheus/server/scrape-crt.pem
      key_file: /etc/ssl/prometheus/server/scrape-key.pem
    file_sd_configs:
    - files:
      - "/etc/prometheus/jobs/{{ job }}/*.yml"