From e4ec26626f09767226c630cca76617606990e1db Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Fri, 18 Aug 2023 16:21:48 +0200 Subject: [PATCH] Fix syntax error --- global-templates/commands.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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