homeserver/group_vars/munin.yml

71 lines
1.5 KiB
YAML
Raw Normal View History

2024-08-12 09:40:17 +02:00
---
### oefenweb.ufw
ufw_rules:
- rule: allow
to_port: 22
protocol: tcp
comment: 'ssh'
from_ip: 0.0.0.0/0
- rule: allow
2024-08-12 10:06:53 +02:00
to_port: 80 #TODO passt?
2024-08-12 09:40:17 +02:00
protocol: tcp
comment: 'munin'
# munin-node plugins fur master aus iomage hier einbauen TODO
2024-08-12 09:51:39 +02:00
# restic ordner TODO
2024-08-12 09:40:17 +02:00
2024-08-12 11:43:40 +02:00
### geerlingguy.apache
apache_vhosts:
# Additional optional properties: 'serveradmin, serveralias, extra_parameters'.
- servername: "munin.mgrote.net"
documentroot: "/var/cache/munin/www"
2024-08-12 09:40:17 +02:00
### mrlesmithjr.ansible-manage-lvm
lvm_groups:
- vgname: vg_munin
disks:
- /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1
create: true
lvnames:
- lvname: lv_munin
size: +100%FREE
create: true
filesystem: xfs
mount: true
mntp: /var/lib/munin
manage_lvm: true
pvresize_to_max: true
2024-08-12 10:47:49 +02:00
2024-08-12 10:58:00 +02:00
### mgrote_munin_node
munin_node_bind_host: "127.0.0.1" # testen
munin_node_bind_port: "4949"
munin_node_allowed_cidrs: [127.0.0.1] # testen
2024-08-12 10:47:49 +02:00
2024-08-12 11:43:40 +02:00
### geerlingguy.munin-master
2024-08-12 11:21:43 +02:00
munin_dbdir: /var/lib/munin
2024-08-12 11:37:05 +02:00
munin_htmldir: /var/www/html
2024-08-12 11:21:43 +02:00
munin_logdir: /var/log/munin
2024-08-12 10:49:45 +02:00
munin_rundir: /var/run/munin
munin_includedir: /etc/munin/conf.d
munin_html_strategy: cron
munin_graph_strategy: cron
munin_max_processes: 12
munin_cron_job: present
munin_admin_user: munin
2024-08-12 10:59:37 +02:00
munin_admin_password: "{{ lookup('viczem.keepass.keepass', 'munin_admin_pass', 'password') }}"
2024-08-12 10:49:45 +02:00
munin_hosts:
2024-08-12 11:43:40 +02:00
- name: "munin.mgrote.net"
2024-08-12 10:49:45 +02:00
address: "127.0.0.1"
extra: ["use_node_name yes"]
2024-08-12 10:58:00 +02:00
# notfications config
2024-08-12 11:37:05 +02:00
# cgi?
2024-08-12 12:44:55 +02:00
# rrdcache
# rolle wieder aus image ausabuen