bundles/matrix*: add monitoring

This commit is contained in:
Franzi 2020-11-21 18:55:06 +01:00
parent 1d450b9829
commit 2f7f35c85a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 27 additions and 0 deletions

View file

@ -16,6 +16,15 @@ defaults = {
'/var/lib/matrix-synapse',
},
},
'icinga2_api': {
'matrix-synapse': {
'services': {
'SYNAPSE PROCESS': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_http_url_for_string http://[::1]:20080/_matrix/static/ "Synapse is running"',
},
},
},
},
'matrix-synapse': {
'registration_shared_secret': repo.vault.human_password_for('{} matrix-synapse registration_shared_secret'.format(node.name)),
'database': {