|
@@ -2,7 +2,7 @@
|
|
# Old Icinga2 doesn't ship with check command for ssl_cert check
|
|
# Old Icinga2 doesn't ship with check command for ssl_cert check
|
|
#
|
|
#
|
|
|
|
|
|
-{%- if grains['oscodename'] == 'jessie' %}
|
|
|
|
|
|
+{%- if grains['oscodename'] == 'jessie' or grains['oscodename'] == 'stretch' %}
|
|
object CheckCommand "ssl_cert" {
|
|
object CheckCommand "ssl_cert" {
|
|
import "plugin-check-command"
|
|
import "plugin-check-command"
|
|
command = [ PluginDir + "/check_ssl_cert" ]
|
|
command = [ PluginDir + "/check_ssl_cert" ]
|