Commit d8f75541 authored by julian.gethmann's avatar julian.gethmann
Browse files

Make munin run with IPv6 and use templates and add more hosts

parent 01d39517
......@@ -163,6 +163,9 @@ gutemine.las.kit.edu
asterix.las.kit.edu
obelix.las.kit.edu
homoeopatix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
methusalix.las.kit.edu ansible_python_interpreter=/usr/bin/python3
pepe.las.kit.edu ansible_python_interpreter=/usr/bin/python3
ueberdrus.las.kit.edu ansible_python_interpreter=/usr/bin/python3
[nginx]
munin.las.kit.edu
......
# Example host tree with localhost node. Configure your nodes here.
[munin.las.kit.edu]
address 127.0.0.1
use_node_name yes
[las101.las.kit.edu]
address 129.13.108.101
use_node_name yes
[asterix.las.kit.edu]
address 129.13.238.79
use_node_name yes
[obelix.las.kit.edu]
address 129.13.108.126
use_node_name yes
......@@ -34,3 +34,15 @@
permissive: true
# - name: set sepermissions
# command: semanage permissive -a httpd_t
- name: restart firewalld
become: yes
service:
name: firewalld
state: restarted
- name: reload firewalld
become: yes
service:
name: firewalld
state: reloaded
......@@ -10,8 +10,8 @@
- name: configure munin server
become: yes
copy:
src: local.conf
template:
src: local.j2
dest: /etc/munin/conf.d/local.conf
backup: yes
......
# {{ ansible_managed }}
# Example host tree with localhost node. Configure your nodes here.
{% for host in groups['munin'] %}
[{{host}}]
address {{host}}
use_node_name yes
{% endfor %}
......@@ -44,6 +44,7 @@ host_name {{ ansible_fqdn }}
# may repeat the allow line as many times as you'd like
allow ^129\.13\.238\.100$
allow ^2a00:1398:4:8200:21a:4bff:fe46:e741$
allow ^127\.0\.0\.1$
allow ^::1$
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment