ssl_cert.conf 318 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 = 90
  8. vars.ssl_cert_crit = 30
  9. assign where host.address && host.vars.os == "linux"
  10. }