icinga2: more checks should send sms
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
6e4c1ca502
commit
4f57a6c0e3
5 changed files with 8 additions and 1 deletions
|
@ -17,11 +17,13 @@ defaults = {
|
|||
'IMAP CONNECT': {
|
||||
'check_command': 'check_imap',
|
||||
'vars.imap_port': 143,
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
'IMAPS CONNECT': {
|
||||
'check_command': 'check_imap',
|
||||
'vars.imap_port': 993,
|
||||
'vars.imap_ssl': True,
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -19,8 +19,9 @@ defaults = {
|
|||
'icinga2_api': {
|
||||
'matrix-synapse': {
|
||||
'services': {
|
||||
'SYNAPSE PROCESS': {
|
||||
'MATRIX-SYNAPSE PROCESS': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_http_url_for_string http://[::1]:20080/_matrix/static/ "Synapse is running"',
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -29,10 +29,12 @@ if node.has_bundle('postfixadmin'):
|
|||
'SMTP CONNECT': {
|
||||
'check_command': 'check_smtp',
|
||||
'vars.notification.sms': True,
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
'SMTP SUBMISSION CONNECT': {
|
||||
'check_command': 'check_smtp',
|
||||
'vars.port': '587',
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
})
|
||||
else:
|
||||
|
|
|
@ -15,6 +15,7 @@ defaults = {
|
|||
'POWERDNS PROCESS': {
|
||||
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C pdns_server -c 1:',
|
||||
'vars.notification.mail': True,
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -17,6 +17,7 @@ defaults = {
|
|||
'services': {
|
||||
'SEAFILE PROCESS': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seafile',
|
||||
'vars.notification.sms': True,
|
||||
},
|
||||
'SEAHUB PROCESS': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit seahub',
|
||||
|
|
Loading…
Reference in a new issue