This commit is contained in:
Michael Grote 2024-09-27 16:48:16 +02:00
parent b573487748
commit 33277d966e

View file

@ -36,11 +36,6 @@ lvm_groups:
manage_lvm: true
pvresize_to_max: true
### mgrote_munin_node
munin_node_bind_host: "127.0.0.1"
munin_node_bind_port: "4949"
munin_node_allowed_cidrs: [127.0.0.1]
### mgrote_munin_master
munin_mode: cgi # or cron
munin_mail_user: munin@mgrote.net
@ -75,3 +70,34 @@ munin_hosts:
- name: ldap.mgrote.net
address: ldap.mgrote.net
extra: ["use_node_name yes"]
### mgrote_munin_node
munin_node_bind_host: "127.0.0.1"
munin_node_bind_port: "4949"
munin_node_allowed_cidrs: [127.0.0.1]
munin_node_plugins:
- name: mikrotik_system_rb5009
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/router/mikrotik_system
config: |
[mt_system_rb5009]
user root
env.ssh_user munin
env.ssh_password "{{ lookup('viczem.keepass.keepass', 'routeros-munin-user-password', 'password') }}"
env.ssh_host 192.168.2.1
- name: mikrotik_system_hex
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/router/mikrotik_system
config: |
[mt_system_hex]
user root
env.ssh_user munin
env.ssh_password "{{ lookup('viczem.keepass.keepass', 'routeros-munin-user-password', 'password') }}"
env.ssh_host 192.168.2.225
- name: mikrotik_system_rb5009
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/router/mikrotik_crs305
config: |
[mt_system_crs305]
user root
env.ssh_user munin
env.ssh_password "{{ lookup('viczem.keepass.keepass', 'routeros-munin-user-password', 'password') }}"
env.ssh_host 192.168.3.144