munin: nextcloud + vault (#219)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#219 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
parent
b4ea3967a2
commit
c6d48f8bae
2 changed files with 11 additions and 3 deletions
|
@ -58,6 +58,14 @@
|
||||||
[docker_*]
|
[docker_*]
|
||||||
user root
|
user root
|
||||||
env.DOCKER_HOST unix://run/docker.sock
|
env.DOCKER_HOST unix://run/docker.sock
|
||||||
|
- name: nextcloud_mgrote.next-cloud.org
|
||||||
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/nextcloud_
|
||||||
|
config: |
|
||||||
|
[nextcloud_mgrote.next-cloud.org]
|
||||||
|
env.username munin
|
||||||
|
env.password "{{ lookup('keepass', 'nextcloud_munin_user', 'password') }}"
|
||||||
|
env.api_path /ocs/v2.php/apps/serverinfo/api/v1/info
|
||||||
|
env.scheme https
|
||||||
- name: docker_cpu
|
- name: docker_cpu
|
||||||
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/docker_
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/docker_
|
||||||
- name: docker_memory
|
- name: docker_memory
|
||||||
|
@ -72,7 +80,7 @@
|
||||||
[mt_system_crs309]
|
[mt_system_crs309]
|
||||||
user root
|
user root
|
||||||
env.ssh_user munin
|
env.ssh_user munin
|
||||||
env.ssh_password hallowelt
|
env.ssh_password "{{ lookup('keepass', 'crs309_munin_user', 'password') }}"
|
||||||
env.ssh_host 192.168.2.223
|
env.ssh_host 192.168.2.223
|
||||||
- name: mt_system_rb5009
|
- name: mt_system_rb5009
|
||||||
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/mikrotik/mt_system
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/mikrotik/mt_system
|
||||||
|
@ -80,7 +88,7 @@
|
||||||
[mt_system_rb5009]
|
[mt_system_rb5009]
|
||||||
user root
|
user root
|
||||||
env.ssh_user munin
|
env.ssh_user munin
|
||||||
env.ssh_password hallowelt
|
env.ssh_password "{{ lookup('keepass', 'rb5009_munin_user', 'password') }}"
|
||||||
env.ssh_host 192.168.2.1
|
env.ssh_host 192.168.2.1
|
||||||
- name: unifi
|
- name: unifi
|
||||||
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/unifi
|
src: https://git.mgrote.net/mg/munin-plugins/raw/branch/master/extern/unifi
|
||||||
|
@ -90,7 +98,7 @@
|
||||||
# point to a read-only account.
|
# point to a read-only account.
|
||||||
env.user munin
|
env.user munin
|
||||||
# Password to login to unifi controller API. Default is "ubnt"
|
# Password to login to unifi controller API. Default is "ubnt"
|
||||||
env.pass hallowelt
|
env.pass "{{ lookup('keepass', 'unifi_munin_user', 'password') }}
|
||||||
# URL of the API, with port if needed. No trailing slash.
|
# URL of the API, with port if needed. No trailing slash.
|
||||||
env.api_url https://docker2.grote.lan:8443
|
env.api_url https://docker2.grote.lan:8443
|
||||||
# Verify SSL certificate name against host.
|
# Verify SSL certificate name against host.
|
||||||
|
|
BIN
keepass_db.kdbx
BIN
keepass_db.kdbx
Binary file not shown.
Loading…
Reference in a new issue