Added munin configuration
This commit is contained in:
@@ -9,6 +9,11 @@ packages_common:
|
||||
- 'wget'
|
||||
- 'zip'
|
||||
|
||||
munin_node_allowed_ips:
|
||||
- '^10\.7\.10\.95$'
|
||||
- '^127\.0\.0\.1$'
|
||||
- '^::1$'
|
||||
|
||||
ntp_enabled: True
|
||||
ntp_timezone: 'America/New_York'
|
||||
ntp_package: 'chrony'
|
||||
|
||||
27
inventory/group_vars/munin_masters.yml
Normal file
27
inventory/group_vars/munin_masters.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
|
||||
munin_local_conf_remove: True
|
||||
munin_html_strategy: 'cgi'
|
||||
munin_graph_strategy: 'cgi'
|
||||
munin_max_processes: 4
|
||||
munin_alerts:
|
||||
- name: 'Gregory Ballantine'
|
||||
email: 'gballantine@metaunix.net'
|
||||
subject: 'Munin-notification for ${var:group} :: ${var:host}'
|
||||
level: 'warning critical'
|
||||
munin_hosts:
|
||||
- name: 'mustafar'
|
||||
address: '127.0.0.1'
|
||||
extra: ['use_node_name yes']
|
||||
- name: 'lb-v3'
|
||||
address: 'lb-v3.int.metaunix.ent'
|
||||
extra: ['use_node_name yes']
|
||||
- name: 'ks-v2.int.metaunx.net'
|
||||
address: 'ks-v2.int.metaunix.net'
|
||||
extra: ['use_node_name yes']
|
||||
- name: 'ns3.int.metaunix.net'
|
||||
address: 'ns3.int.metaunix.net'
|
||||
extra: ['use_node_name yes']
|
||||
- name: 'ns4.int.metaunix.net'
|
||||
address: 'ns4.int.metaunix.net'
|
||||
extra: ['use_node_name yes']
|
||||
@@ -13,6 +13,9 @@ lb-v3 ansible_host=lb-v3.int.metaunix.net
|
||||
[kickstart_servers]
|
||||
ks-v2 ansible_host=ks-v2.int.metaunix.net
|
||||
|
||||
[munin_masters]
|
||||
mustafar ansible_host=mustafar
|
||||
|
||||
[nameservers]
|
||||
#ns1 ansible_host=ns1.int.metaunix.net
|
||||
#ns2 ansible_host=ns2.int.metaunix.net
|
||||
|
||||
15
playbooks/munin.yml
Normal file
15
playbooks/munin.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Install Munin master
|
||||
hosts: munin_masters
|
||||
become: True
|
||||
|
||||
roles:
|
||||
- geerlingguy.munin
|
||||
|
||||
- name: Install Munin node
|
||||
hosts: all
|
||||
become: True
|
||||
|
||||
roles:
|
||||
- geerlingguy.munin-node
|
||||
@@ -3,6 +3,7 @@
|
||||
- import_playbook: ntp.yml
|
||||
- import_playbook: base.yml
|
||||
- import_playbook: auth.yml
|
||||
- import_playbook: munin.yml
|
||||
- import_playbook: packages.yml
|
||||
- import_playbook: gitea.yml
|
||||
- import_playbook: dev.yml
|
||||
|
||||
@@ -7,6 +7,10 @@ roles:
|
||||
version: 2.3.0
|
||||
- src: geerlingguy.git
|
||||
version: 3.0.1
|
||||
- src: geerlingguy.munin
|
||||
version: 2.2.0
|
||||
- src: geerlingguy.munin-node
|
||||
version: 1.4.0
|
||||
- src: geerlingguy.nginx
|
||||
version: 3.3.0
|
||||
- src: geerlingguy.nodejs
|
||||
|
||||
Reference in New Issue
Block a user