matteocorti/check_ssl_cert

Icinga2.conf -> verbose doesn't work as a flag

Closed this issue · 0 comments

"--verbose" = {
value = "$ssl_cert_extended_verbose$"
description = "Verbose output (can be specified more than once)"
expects vars.ssl_cert_extended_verbose to be set and passes its value as a parameter to the "--verbose" command line option, which does not accept values. So unless vars.ssl_cert_extended_verbose is set to either "--verbose" (which will translate to "--verbose --verbose" on the generated command) or "no options arguments" like "-v" or "-4", this will lead to a failure during argument parsing