Compare commits

..

6 Commits

3 changed files with 14 additions and 2 deletions

View File

@ -1,9 +1,9 @@
################################ ################################
# Makefile pour eole-prometheus # Makefile pour XXX-XXX
################################ ################################
SOURCE=eole-prometheus SOURCE=eole-prometheus
VERSION=0.0.1 VERSION=0.1
EOLE_VERSION=2.7 EOLE_VERSION=2.7
EOLE_RELEASE=2.7.0 EOLE_RELEASE=2.7.0
PKGAPPS=non PKGAPPS=non

View File

@ -39,3 +39,12 @@ groups:
a value of {{ $value }}. a value of {{ $value }}.
summary: Instance {{ $labels.instance }} filesystem usage is dangerously high 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

View File

@ -81,6 +81,7 @@ route:
- match: - match:
%%{sroute.alSubRouteMatchSource}: %%alSubRouteMatchValue %%{sroute.alSubRouteMatchSource}: %%alSubRouteMatchValue
receiver: %%alSubRouteMatchReceiver receiver: %%alSubRouteMatchReceiver
continue: true
%end if %end if
%end for %end for
%end if %end if
@ -89,6 +90,7 @@ route:
- match: - match:
%%{rt.alRouteMatchSource}: %%{rt.alRouteMatchValue} %%{rt.alRouteMatchSource}: %%{rt.alRouteMatchValue}
receiver: %%rt.alRouteMatchReceiver receiver: %%rt.alRouteMatchReceiver
continue: true
%if not %%is_empty('alSubRoute') %if not %%is_empty('alSubRoute')
routes: routes:
@ -97,6 +99,7 @@ route:
- match: - match:
%%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue} %%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue}
receiver: %%sroute.alSubRouteMatchReceiver receiver: %%sroute.alSubRouteMatchReceiver
continue: true
%end if %end if
%end for %end for
%end if %end if