puppet: Fix check_ssl_certificate check to check named host, not self.

This commit is contained in:
Alex Vandiver
2021-05-17 18:37:54 -07:00
parent a2b7a5ef4b
commit 033a96aa5d

View File

@@ -193,7 +193,7 @@ define command{
define command{
command_name check_ssl_certificate
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' --expect=200,302,401 -C30,14
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$ARG1$' -I '$ARG1$' --sni --expect=200,302,401 -C30,14
}
define command{