|
|
|
@ -96,21 +96,21 @@
|
|
|
|
|
name: perl-lwp-protocol-https
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (1/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (1/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_{{ ansible_default_ipv4.interface }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
|
state: link
|
|
|
|
|
notify: restart munin-node
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (2/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (2/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_{{ ansible_default_ipv6.interface }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
|
state: link
|
|
|
|
|
notify: restart munin-node
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (3/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (3/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_{{ item[0] }}{{ item[1].name }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
@ -121,7 +121,7 @@
|
|
|
|
|
- "{{ sites }}"
|
|
|
|
|
when: "'fastd' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (4/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (4/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_bb{{ hostvars[item]['wireguard_bb_name'] }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
@ -130,7 +130,7 @@
|
|
|
|
|
with_items: "{{ groups['uplink'] }}"
|
|
|
|
|
when: "'fastd' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (5/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (5/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_bb{{ hostvars[item]['wireguard_bb_name'] }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
@ -139,7 +139,7 @@
|
|
|
|
|
with_items: "{{ groups['fastd'] }}"
|
|
|
|
|
when: "'uplink' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (6/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (6/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_bb{{ item.name }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
@ -148,7 +148,16 @@
|
|
|
|
|
with_items: "{{ wireguard_bb_peers|default([]) }}"
|
|
|
|
|
when: "'uplink' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (7/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (7/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_bb{{ hostvars[item]['wireguard_bb_name'] }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
|
state: link
|
|
|
|
|
notify: restart munin-node
|
|
|
|
|
with_items: "{{ groups['uplink'] | difference([inventory_hostname]) }}"
|
|
|
|
|
when: "'uplink' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (8/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_{{ item.name }}
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
@ -157,7 +166,7 @@
|
|
|
|
|
with_items: "{{ ffrl_peers }}"
|
|
|
|
|
when: "'ffrl_uplink' in group_names"
|
|
|
|
|
|
|
|
|
|
- name: enable munin plugins for network monitoring (8/8)
|
|
|
|
|
- name: enable munin plugins for network monitoring (9/9)
|
|
|
|
|
file:
|
|
|
|
|
path: /etc/munin/plugins/if_mullvad
|
|
|
|
|
src: /usr/lib/munin/plugins/if_
|
|
|
|
|