Remove set_if attribute for the ssl check

fixes #6782
This commit is contained in:
Gunnar Beutner 2014-07-23 09:37:04 +02:00
parent 4724869e1c
commit 4c8eb819e4
1 changed files with 1 additions and 4 deletions

View File

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