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': {

View file

@ -4,6 +4,15 @@ defaults = {
'ffmpeg': {},
},
},
'icinga2_api': {
'mautrix-telegram': {
'services': {
'MAUTRIX-TELEGRAM PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a mautrix-telegram -c 1:',
},
},
},
},
'matrix-synapse': {
'appservice_configs': {
'/opt/mautrix-telegram/registration.yaml',

View file

@ -4,6 +4,15 @@ defaults = {
'/opt/mx-puppet-discord/registration.yaml',
},
},
'icinga2_api': {
'mx-puppet-discord': {
'services': {
'MX-PUPPET-DISCORD PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a mx-puppet-discord -c 1:',
},
},
},
},
'mx-puppet-discord': {
'database': {
'user': 'mx-puppet-discord',