Skip to content

Commit

Permalink
T6949: Adds blackbox exporter config example
Browse files Browse the repository at this point in the history
  • Loading branch information
nvollmar committed Dec 26, 2024
1 parent 7c1e53f commit 3790709
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/configuration/service/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,24 @@ HTTP, HTTPS, DNS, TCP, ICMP and gRPC .

Configure name of the :abbr:`VRF (Virtual Routing and Forwarding)` instance.

.. cfgcmd:: set service monitoring prometheus blackbox-exporter config-file <path>
Configuring modules
-------------------
Blackbox exporter can be configured with different modules for probing DNS or ICMP.

Configure a custom config file under `/config/prometheus_exporter/`
DNS module example:

.. code-block:: none
set service monitoring prometheus blackbox-exporter modules dns name dns4 preferred-ip-protocol ip4
set service monitoring prometheus blackbox-exporter modules dns name dns4 query-type A
ICMP module example:

.. code-block:: none
set service monitoring prometheus blackbox-exporter modules icmp name ping6 preferred-ip-protocol ip6
set service monitoring prometheus blackbox-exporter modules icmp name ping6 ip-protocol-fallback
set service monitoring prometheus blackbox-exporter modules icmp name ping6 timeout 3
.. _node_exporter: https://github.com/prometheus/node_exporter
.. _frr_exporter: https://github.com/tynany/frr_exporter
Expand Down

0 comments on commit 3790709

Please sign in to comment.