Last active
October 25, 2019 05:49
-
-
Save jamesmoriarty/d09b366d336c6164b3bac2798eaba256 to your computer and use it in GitHub Desktop.
Manifest with heredoc config.file on start.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command: | |
- /bin/sh | |
- -c | |
- | | |
cat << EOF > blackbox.yml && /bin/blackbox_exporter --config.file=blackbox.yml | |
modules: | |
http_2xx: | |
prober: http | |
http: | |
tls_config: | |
insecure_skip_verify: true | |
preferred_ip_protocol: "ip4" # defaults to "ip6" | |
ip_protocol_fallback: false # no fallback to "ip6" | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment