bundles/nginx: add certificate name to icinga check
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
be3dd6662e
commit
98cd2df8ff
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def monitoring(metadata):
|
||||||
}
|
}
|
||||||
|
|
||||||
if vconfig.get('check_ssl', vconfig['ssl']):
|
if vconfig.get('check_ssl', vconfig['ssl']):
|
||||||
services['NGINX VHOST {} CERTIFICATE'.format(vname)] = {
|
services['NGINX VHOST {} CERTIFICATE: {}'.format(vname, vconfig['ssl'])] = {
|
||||||
'check_command': 'check_https_cert_at_url',
|
'check_command': 'check_https_cert_at_url',
|
||||||
'vars.domain': domain,
|
'vars.domain': domain,
|
||||||
'vars.notification.mail': True,
|
'vars.notification.mail': True,
|
||||||
|
|
Loading…
Reference in a new issue