x509check.conf 884 B

1234567891011121314151617181920212223242526
  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. summary: x509 certificate expiration for ${label:source}
  12. info: Time until x509 certificate expires for ${label:source}
  13. to: webmaster
  14. template: x509check_revocation_status
  15. on: x509check.revocation_status
  16. class: Errors
  17. type: Certificates
  18. component: x509 certificates
  19. calc: $revoked
  20. every: 60s
  21. crit: $this != nan AND $this != 0
  22. summary: x509 certificate revocation status for ${label:source}
  23. info: x509 certificate revocation status (0: revoked, 1: valid) for ${label:source}
  24. to: webmaster