]> granicus.if.org Git - icinga2/commit
Add "-N" parameter for the "ssl" check command
authorChristian Loos <cloos@netsandbox.de>
Fri, 20 Jan 2017 08:14:03 +0000 (09:14 +0100)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 7 Feb 2017 09:57:45 +0000 (10:57 +0100)
commit584be4fe5250e26e68218b03746b9c9c8f28e63a
treec7a80bd5fe62675ae95ca3744eec7affbfa544c3
parentaacc535acfd76f5c8611e7ccb2c9dc3f60fb46ab
Add "-N" parameter for the "ssl" check command

Without this, we check the wrong cert when SNI is used:

./check_tcp -H git.netsandbox.de -p 443 -D 30,10
OK - Certificate 'netsandbox.de' will expire on 2017-04-19 12:01
+0200/CEST.

./check_tcp -H git.netsandbox.de -p 443 -D 30,10 -N git.netsandbox.de
OK - Certificate 'git.netsandbox.de' will expire on 2017-04-15 14:06
+0200/CEST.

fixes #4936

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
doc/10-icinga-template-library.md
itl/command-plugins.conf