add "--long-output" to ssl_cert command

Co-Authored-By: Julian Brost <julian.brost@icinga.com>
This commit is contained in:
Silas 2025-07-30 15:41:38 +02:00 committed by Alvar Penning
parent 20d9af0d32
commit 124d191afa
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -6095,6 +6095,7 @@ ssl_cert_ignore_ocsp_timeout | **Optional.** Ignore OCSP result when
ssl_cert_ignore_sct | **Optional.** Do not check for signed certificate timestamps.
ssl_cert_ignore_tls_renegotiation | **Optional.** Do not check for renegotiation.
ssl_cert_dane | **Optional.** Verify that valid DANE records exist ({211,301,302,311,312} or empty string).
ssl_cert_long_output | **Optional.** Append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines.
#### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>

View File

@ -590,8 +590,11 @@ object CheckCommand "ssl_cert" {
"--ignore-maximum-validity" = {
description = "Ignore the certificate maximum validity"
set_if = "$ssl_cert_ignore_maximum_validity$"
}
}
"--long-output" = {
description = "Append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines"
value = "$ssl_cert_long_output$"
}
}
vars.ssl_cert_address = "$check_address$"