From 5fd22145c0f11aaf76178439c51e8202bce25809 Mon Sep 17 00:00:00 2001 From: Julien Lecomte Date: Tue, 21 Mar 2023 18:43:22 +0100 Subject: [PATCH] Ignore temperature from tctl sensors --- dist/rules/host-and-hardware/node-exporter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/rules/host-and-hardware/node-exporter.yml b/dist/rules/host-and-hardware/node-exporter.yml index db590f4..498fa02 100644 --- a/dist/rules/host-and-hardware/node-exporter.yml +++ b/dist/rules/host-and-hardware/node-exporter.yml @@ -194,7 +194,7 @@ groups: description: "systemd service crashed\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - alert: HostPhysicalComponentTooHot - expr: 'node_hwmon_temp_celsius > 75' + expr: 'node_hwmon_temp_celsius * ignoring(label) group_left(instance, job, node, sensor) node_hwmon_sensor_label{label!="tctl"} > 75' for: 5m labels: severity: warning