Prometheus Blackbox Exporter

Channel Version Revision Published Runs on
latest/stable 7 7 01 Feb 2021
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/candidate 7 7 16 Sep 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge dc85d67 8 16 Sep 2022
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
juju deploy prometheus-blackbox-exporter
Show information


20.04 18.04 16.04

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


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


This directory needs to be create in the charm path prior to testing

mkdir -p report/lint


To avail of the metrics in grafana the following steps can be used

juju deploy grafana
juju deploy prometheus2
juju add-relation prometheus-blackbox-exporter:scrape prometheus2:target
juju add-relation prometheus-blackbox-exporter:dashboards grafana:dashboards

To setup reporting with nagios

juju deploy nrpe
juju add-relation prometheus-blackbox-exporter:nrpe-external-master  nrpe:nrpe-external-master

Change or update dashboards

# To provide your own dashboards, create a zip file and attach it as a resource 
zip blackbox-simple.json blackbox-advanced.json
juju attach-resource prometheus-blackbox-exporter dashboards=./

Contact Information

  • Charm bugs: