Prototype the role

This commit is contained in:
Alexander Gorelyshev
2026-06-30 15:34:30 +04:00
parent 7c27d734fa
commit eb85fcac98
9 changed files with 151 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# List of target hosts (IP addresses or host names) to ping.
targets:
{% for target in ping_exporter_targets %}
- {{ target }}
{% endfor %}
dns:
# enforce a specific DNS server for host name lookups (optional,
# defaults to system rsesolver)
#nameserver: 1.1.1.1
# refresh interval for host name (optional)
#refresh: 2m45s
ping:
interval: {{ ping_exporter_interval }} # how often to ping a target?
timeout: {{ ping_exporter_timeout }} # timeout for a single ICMP Echo Request
history-size: {{ ping_exporter_history_size }} # number of results to keep per target
payload-size: {{ ping_exporter_payload_size }} # message size for ICMP Echo Requests