Add CollectorError alert for WMI exporter (#47)

Add CollectorError alert for WMI exporter
This commit is contained in:
Samuel Berthe 2019-08-23 13:18:40 +02:00 committed by GitHub
commit 4e2346e6bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'