Skip to content

Commit d158276

Browse files
authored
Merge pull request #10526 from Tqnsls/patch-1
add "--long-output" to ssl_cert command
2 parents 20d9af0 + 124d191 commit d158276

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

doc/10-icinga-template-library.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6095,6 +6095,7 @@ ssl_cert_ignore_ocsp_timeout | **Optional.** Ignore OCSP result when
60956095
ssl_cert_ignore_sct | **Optional.** Do not check for signed certificate timestamps.
60966096
ssl_cert_ignore_tls_renegotiation | **Optional.** Do not check for renegotiation.
60976097
ssl_cert_dane | **Optional.** Verify that valid DANE records exist ({211,301,302,311,312} or empty string).
6098+
ssl_cert_long_output | **Optional.** Append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines.
60986099

60996100

61006101
#### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>

itl/plugins-contrib.d/web.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,11 @@ object CheckCommand "ssl_cert" {
590590
"--ignore-maximum-validity" = {
591591
description = "Ignore the certificate maximum validity"
592592
set_if = "$ssl_cert_ignore_maximum_validity$"
593-
}
594-
593+
}
594+
"--long-output" = {
595+
description = "Append the specified comma separated (no spaces) list of attributes to the plugin output on additional lines"
596+
value = "$ssl_cert_long_output$"
597+
}
595598
}
596599

597600
vars.ssl_cert_address = "$check_address$"

0 commit comments

Comments
 (0)