Compare commits

..

2 Commits

Author SHA1 Message Date
81a1679f43 Merge branch 'master' into dist/eole/2.7.0/master 2019-04-15 14:20:33 +02:00
0359dafc7c packaging stable 2019-04-12 10:12:46 +02:00
3 changed files with 2 additions and 24 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

@ -34,27 +34,8 @@ groups:
- alert: filesystem_threshold_exceeded - alert: filesystem_threshold_exceeded
expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"} expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"}
* 100 < 20 * 100 < 20
for: 2m
annotations: annotations:
description: This device's filesystem usage has exceeded the threshold with description: This device's filesystem usage has exceeded the threshold with
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 "/var" use
- alert: var_filesystem_threshold_exceeded
expr: node_filesystem_avail{job="node",mountpoint="/var"} / node_filesystem_size{job="node"}
* 100 < 20
annotations:
description: This device's filesystem usage has exceeded the threshold with
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

View File

@ -81,7 +81,6 @@ 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
@ -90,7 +89,6 @@ 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:
@ -99,7 +97,6 @@ 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