From 31400a85ac080218f6f5c1afa6c0711bf39465a0 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 15 Nov 2019 20:40:01 -0600 Subject: [PATCH] Added telegraf ping monitors Checks basic network connectivity to default gateways and dns.google --- roles/telegraf/defaults/main.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/telegraf/defaults/main.yaml b/roles/telegraf/defaults/main.yaml index 70fe022..58dc417 100644 --- a/roles/telegraf/defaults/main.yaml +++ b/roles/telegraf/defaults/main.yaml @@ -52,5 +52,12 @@ telegraf_config_inputs: kernel_vmstat: [] net: [] netstat: [] + ping: + - urls: + - gateway + - gateway6 + - dns.google + interface: "{{ ansible_default_ipv4.interface }}" + count: 10 procstat: - systemd_unit: minecraft.service