From 16d7bfa7f2f29947eeb405bb4ea3c6de8fe09410 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 7 Jun 2019 15:22:30 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20alerte=20temp=C3=A9rature=20CPU?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmpl/alert-rules.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tmpl/alert-rules.yml b/tmpl/alert-rules.yml index 8c6a684..72d5c01 100644 --- a/tmpl/alert-rules.yml +++ b/tmpl/alert-rules.yml @@ -39,3 +39,12 @@ groups: a value of {{ $value }}. summary: Instance {{ $labels.instance }} filesystem usage is dangerously high + # Heavy CPU temperature + - alert: cpu_temp_threshold_exceeded + expr: avg(node_hwmon_temp_celsius{job="node"}) BY (instance) + > 50 + annotations: + description: This device's cpu temperature has exceeded the threshold with a value + of {{ $value }}. + summary: Instance {{ $labels.instance }} CPU temperature is dangerously high +