add mikrotik devices to munin #193

Merged
mg merged 16 commits from rom into master 2024-09-27 17:41:02 +02:00
2 changed files with 34 additions and 5 deletions

View file

@ -36,11 +36,6 @@ lvm_groups:
manage_lvm: true manage_lvm: true
pvresize_to_max: 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 ### mgrote_munin_master
munin_mode: cgi # or cron munin_mode: cgi # or cron
munin_mail_user: munin@mgrote.net munin_mail_user: munin@mgrote.net
@ -75,3 +70,37 @@ munin_hosts:
- name: ldap.mgrote.net - name: ldap.mgrote.net
address: ldap.mgrote.net address: ldap.mgrote.net
extra: ["use_node_name yes"] 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: |
[mikrotik_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_crs305
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/router/mikrotik_system
config: |
[mikrotik_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.2.225
- name: mikrotik_system_hex
src: https://git.mgrote.net/mirrors/munin-contrib/raw/branch/master/plugins/router/mikrotik_system
config: |
[mikrotik_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.3.144
### mgrote.apt_manage_packages
apt_packages_extra:
- sshpass # für munin: mikrotik_system

Binary file not shown.