Skip to content

Unable to ping with ICMP prober over IPv6 but IPv4 works

非ルート(non-root)ユーザーで blackbox-exporter を実行している際にエラーメッセージが出る件 ref: https://github.com/prometheus/blackbox_exporter/issues/1023

- name: Configure net.ipv4.ping_group_range to allow unprivileged ICMP
ansible.posix.sysctl:
name: net.ipv4.ping_group_range
value: '0 2147483647'
state: present
sysctl_set: true
sysctl_file: /etc/sysctl.d/90-blackbox-exporter.conf
reload: true
notify: Restart blackbox_exporter