From: Tom Hughes Date: Mon, 18 Mar 2024 17:28:05 +0000 (+0000) Subject: Add alert for node exporter text file scrape errors X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/c54ceed463ac14652d452b89ef851e477bfae896?ds=inline Add alert for node exporter text file scrape errors --- diff --git a/cookbooks/prometheus/templates/default/alert_rules.yml.erb b/cookbooks/prometheus/templates/default/alert_rules.yml.erb index 632fddc9f..7afa799e8 100644 --- a/cookbooks/prometheus/templates/default/alert_rules.yml.erb +++ b/cookbooks/prometheus/templates/default/alert_rules.yml.erb @@ -612,6 +612,11 @@ groups: for: 10m labels: alertgroup: "prometheus" + - alert: node exporter text file scrape error + expr: node_textfile_scrape_error > 0 + for: 10m + labels: + alertgroup: "prometheus" - name: raid rules: - alert: raid controller battery failed