diff --git a/group_vars/remote-blackbox.yml b/group_vars/remote-blackbox.yml new file mode 100644 index 0000000..3f6f617 --- /dev/null +++ b/group_vars/remote-blackbox.yml @@ -0,0 +1,51 @@ +blackbox_modules: + http: + http: + headers: + Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 + Accept-Charset: utf-8 + Accept-Language: en-US + method: GET + prober: http + timeout: 5s + +vmagent_remotewrite_url: https://metrics.pyrocufflink.blue/insert/1/prometheus/api/v1/write + +vmagent_scrape_configs: +- job_name: cloud-vmagent + static_configs: + - targets: + - localhost:8429 + +- job_name: blackbox-metrics + static_configs: + - targets: + - localhost:9115 + +- job_name: websites + scrape_interval: 4m + metrics_path: /probe + params: + module: + - http + static_configs: + - targets: + - https://dustin.hatch.name/ + - https://darkchestofwonders.us/ + - http://nratonpass.com/ + - http://pyrocufflink.net/ + - http://ebonfire.com/ + - http://chmod777.sh/ + - https://nextcloud.pyrocufflink.net/index.php + - https://bitwarden.pyrocufflink.net/ + - https://git.pyrocufflink.net/ + - https://tabitha.biz/ + - https://dustinandtabitha.com/ + - https://hatchlearningcenter.org/ + relabel_configs: + - source_labels: [__address__] + target_label: __param_target + - source_labels: [__param_target] + target_label: instance + - target_label: __address__ + replacement: localhost:9115 diff --git a/hosts b/hosts index 262ff92..bf61b4a 100644 --- a/hosts +++ b/hosts @@ -8,6 +8,9 @@ file0.pyrocufflink.blue [bitwarden_rs] bw0.pyrocufflink.blue +[blackbox-exporter:children] +remote-blackbox + [btop] chromie.pyrocufflink.blue @@ -211,6 +214,9 @@ smtp1.pyrocufflink.blue vmhost0.pyrocufflink.blue vmhost1.pyrocufflink.blue +[vmagent:children] +remote-blackbox + [wheelhost] file0.pyrocufflink.blue