Blackbox Exporter Machine Charm

Sina P Publisher

Platform:

Ubuntu
26.04 24.04 22.04
Channel Revision Published Runs on
latest/edge 56 12 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
latest/edge 55 11 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
latest/edge 54 11 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
latest/edge 52 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
latest/edge 49 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 34 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 37 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 29 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 30 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 36 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 38 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 32 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/stable 33 10 Aug 2026
Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 39 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 43 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 44 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 41 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 45 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 46 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 47 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 48 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 50 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/candidate 33 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 39 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 43 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 44 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 41 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 45 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 46 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 47 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 48 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 50 11 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/beta 33 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 50 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 48 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 47 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 46 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 45 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 44 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 43 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 41 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 39 10 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
0.28/edge 33 05 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
dev/edge 28 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 27 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 26 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 25 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 24 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 23 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 22 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 21 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
juju deploy blackbox-exporter --channel 0.28/stable

Learn about configurations >

  • config_file | string

    Supply a configuration file for Blackbox Exporter in which modules and their parameters are specified. The provided config file must be a valid YAML and contain a modules section. If this value is unset, the default below will be used.

    modules: http_2xx: prober: http timeout: 10s tcp_connect: prober: tcp timeout: 10s icmp: prober: icmp timeout: 10s icmp: preferred_ip_protocol: "ip4" ip_protocol_fallback: true

    Automatic connectivity checks require the ICMP module. If you need automatic cross-unit connectivity checks, do NOT remove the ICMP module. If your ICMP checks require DNS resolution for a target e.g. charmhub.io, ensure the parameter ip_protocol_fallback is set to true. Refer to https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md for more information.

  • probes_file | string

    Scrape config for Opentelemetry Collector in YAML format. Refer to https://github.com/prometheus/blackbox_exporter#prometheus-configuration for full details. The scrape jobs defined via this option are added to the self monitoring and, if enabled, automatic cross-unit ICMP connectivity checks. They are then forwarded over relation data to Opentelemetry Collector. Scrape config should follow the upstream format: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config. An example file would be: scrape_configs: - job_name: check-charmhub-connectivity

    metrics_path: /probe params: module: [http_2xx] static_configs: - targets: - charmhub.io - ubuntu.com

    Ensure your file starts with scrape_configs. Separate jobs using different job names. The charm will prepend its principal's hostname to the job name. For example, the job name check-charmhub-connectivity will become <hostname>-check-charmhub-connectivity. You can provide custom labels under the labels section. However, the charm will automatically set the following labels:

    1. source: equal to the name of the principal unit.
    2. source_hostname: equal to the hostname of the machine hosting the unit.

    Upon changing the config, the provided scrape jobs will be validated. If they are invalid, the charm will be set to Blocked along with a dedicated message and the provided jobs will NOT be forwarded over relation data to Opentelemetry Collector. When specifying targets, do NOT include the scheme. That means charmhub.io is a valid target, but https://charmhub.io is not.