Closed jg-basis closed 6 months ago
Changes to options by check_ssl_cert are leading to deprecated warning in icinga. In the /itl/plugins-contrib.d/web.conf file there are options that cause the issue (lines 399-405).
No warnings displayed on the service check about deprecated options.
Displaying of warnings.
Command line option '--altnames' is deprecated: Enabled by default Command line option '-n' is deprecated: Use '-m'
This code change will fix the issue on my environment Change -n to -m
-n
-m
Remove this part "--altnames" = { set_if = "$ssl_cert_altnames$" description = "Matches the pattern specified in -n with alternate" }
"--altnames" = { set_if = "$ssl_cert_altnames$" description = "Matches the pattern specified in -n with alternate" }
Describe the bug
Changes to options by check_ssl_cert are leading to deprecated warning in icinga. In the /itl/plugins-contrib.d/web.conf file there are options that cause the issue (lines 399-405).
To Reproduce
Expected behavior
No warnings displayed on the service check about deprecated options.
Screenshots
Displaying of warnings.
Your Environment