ansible-collection-prometheus/roles/smokeping_prober/defaults/main.yml
gardar b90cb5bfe4
refactor(smokeping_prober): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:13:08 +00:00

35 lines
1.6 KiB
YAML

---
smokeping_prober_version: 0.8.1
smokeping_prober_binary_url: "https://github.com/{{ _smokeping_prober_repo }}/releases/download/v{{ smokeping_prober_version }}/\
smokeping_prober-{{ smokeping_prober_version }}.{{ ansible_system | lower }}-{{ _smokeping_prober_go_ansible_arch }}.tar.gz"
smokeping_prober_checksums_url: "https://github.com/{{ _smokeping_prober_repo }}/releases/download/v{{ smokeping_prober_version }}/sha256sums.txt"
smokeping_prober_web_listen_address: "0.0.0.0:9374"
# List of smokeping_prober targets.
# See: https://github.com/SuperQ/smokeping_prober/#configuration
smokeping_prober_targets:
- hosts:
- localhost
interval: 1s # Duration, Default 1s.
network: ip # One of ip, ip4, ip6. Default: ip (automatic IPv4/IPv6)
protocol: icmp # One of icmp, udp. Default: icmp (Requires privileged operation)
size: 56 # Packet data size in bytes. Default 56 (Range: 24 - 65535)
source: 127.0.1.1 # Souce IP address to use. Default: None (automatic selection)
smokeping_prober_config_file: "probes.yml"
smokeping_prober_tls_server_config: {}
smokeping_prober_http_server_config: {}
smokeping_prober_basic_auth_users: {}
# Internal variables.
smokeping_prober_binary_install_dir: "/usr/local/bin"
smokeping_prober_config_dir: "/etc/smokeping_prober"
smokeping_prober_system_group: "smokeping"
smokeping_prober_system_user: "{{ smokeping_prober_system_group }}"
# Local path to stash the archive and its extraction
smokeping_prober_local_cache_path: "/tmp/smokeping_prober-{{ ansible_system | lower }}-{{ _smokeping_prober_go_ansible_arch }}/{{ smokeping_prober_version }}"