bundles/postfix: be a bit more relaxed when checking for smtp errors
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
018bdb2f83
commit
69279ba34f
1 changed files with 5 additions and 1 deletions
|
@ -31,12 +31,16 @@ if node.has_bundle('postfixadmin'):
|
||||||
defaults['icinga2_api']['postfix']['services'].update({
|
defaults['icinga2_api']['postfix']['services'].update({
|
||||||
'SMTP CONNECT': {
|
'SMTP CONNECT': {
|
||||||
'check_command': 'check_smtp',
|
'check_command': 'check_smtp',
|
||||||
|
'max_check_attempts': '5',
|
||||||
|
'retry_interval': '3m',
|
||||||
'vars.notification.sms': True,
|
'vars.notification.sms': True,
|
||||||
},
|
},
|
||||||
'SMTP SUBMISSION CONNECT': {
|
'SMTP SUBMISSION CONNECT': {
|
||||||
'check_command': 'check_smtp',
|
'check_command': 'check_smtp',
|
||||||
'vars.port': '587',
|
'max_check_attempts': '5',
|
||||||
|
'retry_interval': '3m',
|
||||||
'vars.notification.sms': True,
|
'vars.notification.sms': True,
|
||||||
|
'vars.port': '587',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue