Fix syntax error

This commit is contained in:
Jan Dittberner 2023-08-18 16:21:48 +02:00
parent 9abf259773
commit e4ec26626f

View file

@ -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