prometheus blackbox exporter #3

Supports: xenial bionic focal
Add to new model

Description

The blackbox exporter allows blackbox probing of
endpoints over HTTP, HTTPS, DNS, TCP and ICMP.


Deprecated

The prometheus-blackbox-exporter charm will no longer be maintained by prometheus-charmers. If you have this charm installed without a publisher (i.e. "cs:prometheus-blackbox-exporter") you do not need to do anything. The charm will automatically update to the new maintainer. If you are referencing "~prometheus-charmers/prometheus-blackbox-exporter" you will need to update to the new maintainer: "~llama-charmers/prometheus-blackbox-exporter" (https://jaas.ai/u/llama-charmers/prometheus-blackbox-exporter)

Juju prometheus Blackbox exporter charm

This charm provides the Prometheus Blackbox exporter, part of the Prometheus monitoring system

The charm should be related to the prometheus charm

Configuration

To configure the blackbox exporter modules use the charm's modules config option.

As an example, if you store your exporter config in a local file called modules.yaml
you can update the charm's configuration using:

juju config prometheus-blackbox-exporter modules=@modules.yaml

To confirm configuration was set:

juju config prometheus-blackbox-exporter

Configuration

modules
(string) Blackbox exporter configuratin in raw YAML format
http_2xx: prober: http timeout: 10s tcp_connect: prober: tcp timeout: 10s icmp: prober: icmp timeout: 10s
snap_channel
(string) If install_method is set to "snap" this option controlls channel name. Supported values are: "stable", "candidate", "beta" and "edge"
stable
snap_proxy
(string) DEPRECATED. Use snap-http-proxy and snap-https-proxy model configuration settings. HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
snap_proxy_url
(string) DEPRECATED. Use snap-store-proxy model configuration setting. The address of a Snap Store Proxy to use for snaps e.g. http://snap-proxy.example.com
snapd_refresh
(string) How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here: https://forum.snapcraft.io/t/system-options/87