ssl_cert.conf 321 B

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