From 8f14e4ff31d442aff86ebf4edfa9df40b0e04b87 Mon Sep 17 00:00:00 2001 From: Rob Brown Date: Thu, 30 Apr 2020 11:19:47 +0100 Subject: [PATCH] Add ProveMonitoring rule --- _data/rules.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_data/rules.yml b/_data/rules.yml index d9003b9..6fd44c6 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -113,6 +113,10 @@ groups: description: 'Prometheus encountered {{ $value }} TSDB WAL truncation failures' query: 'increase(prometheus_tsdb_wal_truncations_failed_total[3m]) > 0' severity: error + - name: Prove Monitoring + description: 'This is a TEST ALERT to prove that the monitoring system is fully functioning. There is no action to be taken and it will resolve in about 5 mins.' + query: 'day_of_week() == 1 and count(hour() == 9 and minute() > 45 < 50 ) != 0' + severity: error - name: Host and hardware exporters: