Fix syntax error
This commit is contained in:
parent
9abf259773
commit
e4ec26626f
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
object CheckCommand "custom_ca_cert" {
|
object CheckCommand "custom_ca_cert" {
|
||||||
command = [ PluginContribDir + "/check_ssl_cert" ]
|
command = [ PluginContribDir + "/check_ssl_cert" ]
|
||||||
|
|
||||||
arguments = [
|
arguments = {
|
||||||
"-f" = {
|
"-f" = {
|
||||||
value = "$ssl_cert_file$"
|
value = "$ssl_cert_file$"
|
||||||
description = "Local file path (works with -H localhost only)"
|
description = "Local file path (works with -H localhost only)"
|
||||||
|
@ -35,7 +35,7 @@ object CheckCommand "custom_ca_cert" {
|
||||||
value = "$ssl_cert_critical$"
|
value = "$ssl_cert_critical$"
|
||||||
description = "Minimum number of days a certificate has to be valid to issue a critical status"
|
description = "Minimum number of days a certificate has to be valid to issue a critical status"
|
||||||
}
|
}
|
||||||
]
|
}
|
||||||
|
|
||||||
vars.ssl_cert_selfsigned = true
|
vars.ssl_cert_selfsigned = true
|
||||||
vars.ssl_cert_noauth = true
|
vars.ssl_cert_noauth = true
|
||||||
|
|
Loading…
Reference in a new issue