x509check.conf 719 B

123456789101112131415161718192021222324
  1. template: x509check_days_until_expiration
  2. on: x509check.time_until_expiration
  3. class: Latency
  4. type: Certificates
  5. component: x509 certificates
  6. calc: $expiry
  7. units: seconds
  8. every: 60s
  9. warn: $this < $days_until_expiration_warning*24*60*60
  10. crit: $this < $days_until_expiration_critical*24*60*60
  11. info: time until x509 certificate expires
  12. to: webmaster
  13. template: x509check_revocation_status
  14. on: x509check.revocation_status
  15. class: Errors
  16. type: Certificates
  17. component: x509 certificates
  18. calc: $revoked
  19. every: 60s
  20. crit: $this != nan AND $this != 0
  21. info: x509 certificate revocation status (0: revoked, 1: valid)
  22. to: webmaster