bundles/matrix*: better monitoring
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-10 16:40:44 +02:00
parent 9618e388c3
commit 018bdb2f83
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,7 @@ defaults = {
'services': {
'MATRIX-MEDIA-REPO PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a media_repo -c 1:',
'vars.notification.sms': True,
},
},
},

View file

@ -19,8 +19,11 @@ defaults = {
'icinga2_api': {
'matrix-synapse': {
'services': {
'MATRIX-SYNAPSE PROCESS': {
'MATRIX-SYNAPSE HTTP ENDPOINT': {
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_http_url_for_string http://[::1]:20080/_matrix/static/ "Synapse is running"',
},
'MATRIX-SYNAPSE PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a synapse.app.homeserver -c 1:',
'vars.notification.sms': True,
},
},