bundles/c3voc-addons: add sms to NGINX VHOST checks
This commit is contained in:
parent
8c292ff8e0
commit
efd2875b17
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def monitoring(metadata):
|
||||||
'check_command': 'check_http_wget',
|
'check_command': 'check_http_wget',
|
||||||
'vars.http_wget_contains': vconfig['website_check_string'],
|
'vars.http_wget_contains': vconfig['website_check_string'],
|
||||||
'vars.http_wget_url': 'https://{}{}'.format(domain, vconfig['website_check_path']),
|
'vars.http_wget_url': 'https://{}{}'.format(domain, vconfig['website_check_path']),
|
||||||
|
'vars.notification.sms': True,
|
||||||
}
|
}
|
||||||
|
|
||||||
if vconfig.get('check_ssl', True):
|
if vconfig.get('check_ssl', True):
|
||||||
|
|
Loading…
Reference in a new issue