1
0
Fork 0

v-m/vmagent: Scrape public clouds to test Internet

Scraping the public DNS servers doesn't work anymore since the firewall
routes traffic through Mullvad.  Pinging public cloud providers should
give a pretty decent indication of Internet connectivity.  It will also
serve as a benchmark for the local DNS performance, since the names will
have to be resolved.
dch-webhooks-secrets
Dustin 2024-01-06 13:59:00 -06:00
parent 89516ebf55
commit 539e25d9bd
2 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,8 @@ modules:
icmp: icmp:
prober: icmp prober: icmp
timeout: 5s timeout: 5s
icmp:
preferred_ip_protocol: ip4
smtp: smtp:
prober: tcp prober: tcp
tcp: tcp:

View File

@ -22,9 +22,10 @@ scrape_configs:
- icmp - icmp
static_configs: static_configs:
- targets: - targets:
- 1.1.1.1 - github.com
- 8.8.8.8 - cloudflare.com
- 9.9.9.9 - amazonaws.com
- azure.com
relabel_configs: relabel_configs:
- source_labels: [__address__] - source_labels: [__address__]
target_label: __param_target target_label: __param_target