From 429d80ecffbeaa788af477eaa8a328c284c8aeed Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 7 Apr 2024 14:02:52 +0200 Subject: Add multiping to monitoring --- roles/monitoring/tasks/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/roles/monitoring/tasks/main.yml b/roles/monitoring/tasks/main.yml index 2b37910..daa2d05 100644 --- a/roles/monitoring/tasks/main.yml +++ b/roles/monitoring/tasks/main.yml @@ -4,3 +4,20 @@ name: - munin-node state: present +- name: Create ping plugin + ansible.builtin.file: + src: /usr/share/munin/plugins/multiping + dest: /etc/munin/plugins/multiping + owner: root + group: root + state: link +- name: Create ping config + copy: + dest: /etc/munin/plugin-conf.d/multiping + owner: root + group: root + mode: "0644" + content: | + [multiping] + env.host 1.1.1.1 + env.ping_args -c 2 -- cgit v1.2.3