mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 02:17:00 +08:00
Add CollectorError alert for WMI exporter (#47)
Add CollectorError alert for WMI exporter
This commit is contained in:
commit
4e2346e6bd
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