diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index dee69f8bf..cd9d95acf 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -150,10 +150,7 @@ object CheckCommand "ssl" { "-p" = "$ssl_port$" "--ssl" = { } "--timeout" = "$ssl_timeout$" - "-D" = { - set_if = len("$ssl_cert_valid_days_warn$") > 0 && len("$ssl_cert_valid_days_critical$") > 0 - value = "$ssl_cert_valid_days_warn$,$ssl_cert_valid_days_critical$" - } + "-D" = "$ssl_cert_valid_days_warn$,$ssl_cert_valid_days_critical$" } vars.ssl_address = "$address$"