mirror of https://github.com/Icinga/icinga2.git
parent
4724869e1c
commit
4c8eb819e4
|
@ -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$"
|
||||
|
|
Loading…
Reference in New Issue