Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Latest commit

 

History

History
42 lines (29 loc) · 1.55 KB

ping_exporter_czerwonk.md

File metadata and controls

42 lines (29 loc) · 1.55 KB

Ping exporter (czerwonk) configuration

To enable ping_exporter by czerwonk include role task: ping_exporter_czerwonk

The ping_exporter can be configured by defining the prometheus_ping_exporter_czerwonk_cfg variable, the simplest configurations only specify targets:

prometheus_ping_exporter_czerwonk_cfg:
  - 8.8.8.8
  - 8.8.4.4
  - 2001:4860:4860::8888
  - 2001:4860:4860::8844

Alternatively, a dictionary can be used to configure all aspects of the ping exporter, for instance:

prometheus_ping_exporter_czerwonk_cfg:
  targets:
    - 8.8.8.8
    - 8.8.4.4
    - 2001:4860:4860::8888
    - 2001:4860:4860::8844
  ping:
    interval: 2s
    timeout: 3s
    history-size: 42
    payload-size: 120

An array of additional flags to pass to the ping_exporter daemon (ie):

prometheus_ping_exporter_czerwonk_extra_opts: []

The version of ping_exporter_czerwonk to install. The default version can be found in the ping_exporter_czerwonk variables file and the default version can be overridden using the following variable:

prometheus_ping_exporter_czerwonk_version: "v1.0.0"

Allow the use of prerelease versions (beta, test, development, etc versions), defaults to 'false':

prometheus_ping_exporter_czerwonk_use_prerelease: true

Port and IP to listen on. Defaults to listening on all available IPs on port 9427:

prometheus_ping_exporter_czerwonk_host: "0.0.0.0"
prometheus_ping_exporter_czerwonk_port: 9427