diff --git a/global-templates/commands.conf b/global-templates/commands.conf index 4a9a73a..3d3b437 100644 --- a/global-templates/commands.conf +++ b/global-templates/commands.conf @@ -6,7 +6,7 @@ object CheckCommand "custom_ca_cert" { command = [ PluginContribDir + "/check_ssl_cert" ] - arguments = [ + arguments = { "-f" = { value = "$ssl_cert_file$" description = "Local file path (works with -H localhost only)" @@ -35,7 +35,7 @@ object CheckCommand "custom_ca_cert" { value = "$ssl_cert_critical$" description = "Minimum number of days a certificate has to be valid to issue a critical status" } - ] + } vars.ssl_cert_selfsigned = true vars.ssl_cert_noauth = true