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',
|
||||
},
|
||||
},
|
||||
'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': {
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue