mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-23 09:58:16 +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
|
- name: martinlindhe/wmi_exporter
|
||||||
doc_url: https://github.com/martinlindhe/wmi_exporter
|
doc_url: https://github.com/martinlindhe/wmi_exporter
|
||||||
rules:
|
rules:
|
||||||
|
- name: Collector Error
|
||||||
|
description: 'Collector {{ $labels.collector }} was not successful'
|
||||||
|
query: 'wmi_exporter_collector_success == 0'
|
||||||
|
severity: error
|
||||||
- name: Service Status
|
- name: Service Status
|
||||||
description: Windows Service state is not OK
|
description: Windows Service state is not OK
|
||||||
query: 'wmi_service_status{status="ok"} != 1'
|
query: 'wmi_service_status{status="ok"} != 1'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue