Compare commits

..

3 Commits

Author SHA1 Message Date
a1f14c7db7 Merge branch 'master' into dist/eole/2.7.0/master 2019-06-07 15:26:16 +02:00
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 15 deletions

View File

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

View File

@ -34,21 +34,11 @@ groups:
- alert: filesystem_threshold_exceeded
expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"}
* 100 < 20
for: 2m
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 "/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)

View File

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