From d789cc314cc1f5f8cf5c19359f347fea2e7c0594 Mon Sep 17 00:00:00 2001 From: Jonas Kongslund Date: Thu, 25 Jul 2019 13:01:47 +0400 Subject: [PATCH] Add ProbeFailed alert for the Blackbox exporter --- _data/rules.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_data/rules.yml b/_data/rules.yml index eba3892..ec90e0b 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -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'