Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
de1500ef95 | |||
c35d1f0416 |
@ -42,7 +42,7 @@ groups:
|
|||||||
# Heavy CPU temperature
|
# Heavy CPU temperature
|
||||||
- alert: cpu_temp_threshold_exceeded
|
- alert: cpu_temp_threshold_exceeded
|
||||||
expr: avg(node_hwmon_temp_celsius{job="node"}) BY (instance)
|
expr: avg(node_hwmon_temp_celsius{job="node"}) BY (instance)
|
||||||
> 70
|
> 50
|
||||||
annotations:
|
annotations:
|
||||||
description: This device's cpu temperature has exceeded the threshold with a value
|
description: This device's cpu temperature has exceeded the threshold with a value
|
||||||
of {{ $value }}.
|
of {{ $value }}.
|
||||||
|
@ -93,9 +93,9 @@ route:
|
|||||||
continue: true
|
continue: true
|
||||||
|
|
||||||
%if not %%is_empty('alSubRoute')
|
%if not %%is_empty('alSubRoute')
|
||||||
routes:
|
|
||||||
%for sroute in %%getVar('alSubRoute',[])
|
%for sroute in %%getVar('alSubRoute',[])
|
||||||
%if %%sroute == %%rt
|
%if %%sroute == %%rt
|
||||||
|
routes:
|
||||||
- match:
|
- match:
|
||||||
%%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue}
|
%%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue}
|
||||||
receiver: %%sroute.alSubRouteMatchReceiver
|
receiver: %%sroute.alSubRouteMatchReceiver
|
||||||
|
Loading…
Reference in New Issue
Block a user