Merge pull request #44 from kongslund/probe-failed

Add ProbeFailed alert for the Blackbox exporter
This commit is contained in:
Samuel Berthe 2019-08-04 09:37:19 +02:00 committed by GitHub
commit 49856bfd2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -506,6 +506,10 @@ services:
- name: prometheus/blackbox_exporter
doc_url: https://github.com/prometheus/blackbox_exporter
rules:
- name: Probe failed
description: Probe failed
query: probe_success == 0
severity: error
- name: Status Code
description: HTTP status code is not 200-299
query: 'probe_http_status_code <= 199 OR probe_http_status_code >= 300'