mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-21 08:57:19 +08:00
Add CollectorError alert for WMI exporter
This commit is contained in:
parent
8e5d0ab71d
commit
9bd8b3698f
1 changed files with 4 additions and 0 deletions
|
|
@ -544,6 +544,10 @@ services:
|
|||
- name: martinlindhe/wmi_exporter
|
||||
doc_url: https://github.com/martinlindhe/wmi_exporter
|
||||
rules:
|
||||
- name: Collector Error
|
||||
description: 'Collector {{ $labels.collector }} was not successful'
|
||||
query: 'wmi_exporter_collector_success == 0'
|
||||
severity: error
|
||||
- name: Service Status
|
||||
description: Windows Service state is not OK
|
||||
query: 'wmi_service_status{status="ok"} != 1'
|
||||
|
|
|
|||
Loading…
Reference in a new issue