apply Service "SSL Host Cert" { import "generic-service" check_command = "ssl_host_cert" command_endpoint = host.name check_interval = 1d vars.ssl_cert_file = "/etc/ssl/certs/" + host.name + ".cert.pem" vars.ssl_cert_warn = 14 vars.ssl_cert_critical = 7 assign where host.address && host.vars.os == "Linux" }