blob: 38187326f512e8d10dc87bebdd8126fbe190bd03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
template: x509check_days_until_expiration
on: x509check.time_until_expiration
class: Latency
type: Certificates
component: x509 certificates
calc: $expiry / 86400
units: days
every: 60s
warn: $this < $days_until_expiration_warning
crit: $this < $days_until_expiration_critical
summary: x509 certificate expiration for ${label:source}
info: Time until x509 certificate expires for ${label:source}
to: webmaster
template: x509check_revocation_status
on: x509check.revocation_status
class: Errors
type: Certificates
component: x509 certificates
calc: $revoked
units: status
every: 60s
crit: $this == 1
summary: x509 certificate revocation status for ${label:source}
info: x509 certificate revocation status for ${label:source}
to: webmaster
|