bundles/matrix*: add monitoring
This commit is contained in:
parent
1d450b9829
commit
2f7f35c85a
3 changed files with 27 additions and 0 deletions
|
@ -16,6 +16,15 @@ defaults = {
|
||||||
'/var/lib/matrix-synapse',
|
'/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': {
|
'matrix-synapse': {
|
||||||
'registration_shared_secret': repo.vault.human_password_for('{} matrix-synapse registration_shared_secret'.format(node.name)),
|
'registration_shared_secret': repo.vault.human_password_for('{} matrix-synapse registration_shared_secret'.format(node.name)),
|
||||||
'database': {
|
'database': {
|
||||||
|
|
|
@ -4,6 +4,15 @@ defaults = {
|
||||||
'ffmpeg': {},
|
'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': {
|
'matrix-synapse': {
|
||||||
'appservice_configs': {
|
'appservice_configs': {
|
||||||
'/opt/mautrix-telegram/registration.yaml',
|
'/opt/mautrix-telegram/registration.yaml',
|
||||||
|
|
|
@ -4,6 +4,15 @@ defaults = {
|
||||||
'/opt/mx-puppet-discord/registration.yaml',
|
'/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': {
|
'mx-puppet-discord': {
|
||||||
'database': {
|
'database': {
|
||||||
'user': 'mx-puppet-discord',
|
'user': 'mx-puppet-discord',
|
||||||
|
|
Loading…
Add table
Reference in a new issue