Files
configpolicy/group_vars/metricspi/blackbox.yml
Dustin C. Hatch 637289036a blackbox: Update pyrocufflink DNS check
I changed the naming convention for domain controller machines.  They
are no longer "numbered," since the plan is to rotate through them
quickly.  For each release of Fedora, we'll create two new domain
controllers, replacing the existing ones.  Their names are now randomly
generated and contain letters and numbers, so the Blackbox Exporter
check for DNS records needs to account for this.
2022-12-19 09:04:37 -06:00

46 lines
915 B
YAML

blackbox_modules:
icmp:
prober: icmp
timeout: 5s
http:
prober: http
timeout: 5s
http:
method: GET
headers:
Accept-Language: en-US
Accept-Charset: utf-8
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
tcp:
prober: tcp
timeout: 5s
dns_recursive:
prober: dns
timeout: 5s
dns:
query_name: news.ycombinator.com
query_type: A
dns_pyrocufflink:
prober: dns
timeout: 2s
dns:
query_name: pyrocufflink.blue
query_type: SOA
validate_answer_rrs:
fail_if_not_matches_regexp:
- 'pyrocufflink\.blue\.\t\d+\tIN\tSOA\tdc.+\.pyrocufflink\.blue.*'
smtp:
prober: tcp
timeout: 5s
tcp:
query_response:
- expect: "^220 ([^ ]+) ESMTP (.+)$"
- send: 'EHLO prober\r'
- expect: '^250[ -]SMTPUTF8'
- send: 'QUIT\r'