mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
18 lines
620 B
Nix
18 lines
620 B
Nix
# https://github.com/Fluepke/nix-files/blob/2be70b76a198afaa7763132fed645a3c19d5af6e/configuration/common/blackbox-exporter.yml
|
|
# https://github.com/xHain-hackspace/xhain-nixfiles/blob/0d6e3b87a07317c2d54cccabf4f90da589319e2c/common/prometheus/blackbox-exporter.yml
|
|
{
|
|
modules.http_2xx = {
|
|
http = {
|
|
fail_if_not_ssl = false;
|
|
ip_protocol_fallback = false;
|
|
method = "GET";
|
|
no_follow_redirects = false;
|
|
preferred_ip_protocol = "ip4";
|
|
valid_http_versions = ["HTTP/1.1" "HTTP/2.0"];
|
|
tls_config.insecure_skip_verify = true;
|
|
};
|
|
prober = "http";
|
|
timeout = "15s";
|
|
};
|
|
}
|