bundles/matrix*: better monitoring
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
9618e388c3
commit
018bdb2f83
2 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,7 @@ defaults = {
|
||||||
'services': {
|
'services': {
|
||||||
'MATRIX-MEDIA-REPO PROCESS': {
|
'MATRIX-MEDIA-REPO PROCESS': {
|
||||||
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a media_repo -c 1:',
|
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -a media_repo -c 1:',
|
||||||
|
'vars.notification.sms': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,8 +19,11 @@ defaults = {
|
||||||
'icinga2_api': {
|
'icinga2_api': {
|
||||||
'matrix-synapse': {
|
'matrix-synapse': {
|
||||||
'services': {
|
'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"',
|
'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,
|
'vars.notification.sms': True,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue