Compare commits
1 Commits
pkg/unstab
...
pkg/stable
Author | SHA1 | Date | |
---|---|---|---|
0359dafc7c |
4
Makefile
4
Makefile
@ -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
|
||||
|
@ -14,7 +14,7 @@ L'exporter système (node-exporter) est dans la configuration par défaut (Prome
|
||||
```
|
||||
Mode expert > Dépot tiers > Ajouter un dépot
|
||||
Dépôt officiel Grafana
|
||||
Libellé du dépot = Dépôt officiel Grafana
|
||||
Libellé du dépot = Cadoles
|
||||
Déclaration du dépôt = deb https://packages.grafana.com/oss/deb stable main
|
||||
Méthode de récupération de la clé = URL de la clé
|
||||
URL de la clé = https://packages.grafana.com/gpg.key
|
||||
|
@ -34,27 +34,8 @@ 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)
|
||||
> 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
|
||||
|
||||
|
@ -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
|
||||
|
@ -3,7 +3,7 @@ apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
access: direct
|
||||
orgId: 1
|
||||
url: http://%%adresse_ip_eth0:9090
|
||||
isDefault: true
|
||||
|
Reference in New Issue
Block a user