add mikrotik devices to munin (#193)
Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/193 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
b573487748
commit
4e4aa19eb7
2 changed files with 34 additions and 5 deletions
|
@ -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
|
||||||
|
|
BIN
keepass_db.kdbx
BIN
keepass_db.kdbx
Binary file not shown.
Loading…
Reference in a new issue