mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
minor improvements for ssl exporter
This commit is contained in:
parent
8d0826020b
commit
0ee7f1266f
2 changed files with 8 additions and 7 deletions
|
|
@ -64,6 +64,7 @@ Collection available here: **[https://awesome-prometheus-alerts.grep.to](https:/
|
|||
- [ZFS](https://awesome-prometheus-alerts.grep.to/rules#zfs)
|
||||
- [OpenEBS](https://awesome-prometheus-alerts.grep.to/rules#openebs)
|
||||
- [Minio](https://awesome-prometheus-alerts.grep.to/rules#minio)
|
||||
- [SSL/TLS](https://awesome-prometheus-alerts.grep.to/rules#ssl/tls)
|
||||
- [Juniper](https://awesome-prometheus-alerts.grep.to/rules#juniper)
|
||||
- [CoreDNS](https://awesome-prometheus-alerts.grep.to/rules#coredns)
|
||||
|
||||
|
|
|
|||
|
|
@ -1823,23 +1823,23 @@ groups:
|
|||
exporters:
|
||||
- name: ssl_exporter
|
||||
doc_url: https://github.com/ribbybibby/ssl_exporter
|
||||
rules:
|
||||
- name: SSL probe failed
|
||||
rules:
|
||||
- name: SSL certificate probe failed
|
||||
description: Failed to fetch SSL information {{ $labels.instance }}
|
||||
query: ssl_probe_success == 0
|
||||
severity: critical
|
||||
- name: OSCP status unknown
|
||||
- name: SSL certificate OSCP status unknown
|
||||
description: Failed to get the OSCP status {{ $labels.instance }}
|
||||
query: ssl_ocsp_response_status == 2
|
||||
severity: warning
|
||||
- name: SSL revoked
|
||||
- name: SSL certificate revoked
|
||||
description: SSL certificate revoked {{ $labels.instance }}
|
||||
query: ssl_ocsp_response_status == 1
|
||||
severity: critical
|
||||
- name: Certificate expiry (< 7days)
|
||||
description: '{{ $labels.instance }} Certificate is expiring whithin the next 7 days: {{ $value | humanizeDuration }}'
|
||||
- name: SSL certificate expiry (< 7 days)
|
||||
description: '{{ $labels.instance }} Certificate is expiring in 7 days'
|
||||
query: ssl_verified_cert_not_after{chain_no="0"} - time() < 86400 * 7
|
||||
severity: critical
|
||||
severity: warning
|
||||
|
||||
- name: Juniper
|
||||
exporters:
|
||||
|
|
|
|||
Loading…
Reference in a new issue