Compare commits
1 Commits
7ab5e2a787
...
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
|
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
|
||||||
|
@ -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
|
Mode expert > Dépot tiers > Ajouter un dépot
|
||||||
Dépôt officiel Grafana
|
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
|
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é
|
Méthode de récupération de la clé = URL de la clé
|
||||||
URL de la clé = https://packages.grafana.com/gpg.key
|
URL de la clé = https://packages.grafana.com/gpg.key
|
||||||
|
@ -39,12 +39,3 @@ 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
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -3,7 +3,7 @@ apiVersion: 1
|
|||||||
datasources:
|
datasources:
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
access: proxy
|
access: direct
|
||||||
orgId: 1
|
orgId: 1
|
||||||
url: http://%%adresse_ip_eth0:9090
|
url: http://%%adresse_ip_eth0:9090
|
||||||
isDefault: true
|
isDefault: true
|
||||||
|
Reference in New Issue
Block a user