Compare commits
44 Commits
pkg/stable
...
60148bfee4
Author | SHA1 | Date | |
---|---|---|---|
60148bfee4 | |||
c35d1f0416 | |||
7ab5e2a787 | |||
43e34f8de8 | |||
708088dfa5 | |||
16d7bfa7f2 | |||
22ed331256 | |||
d9b253b63d | |||
a5fb3de2c0 | |||
f611a75c96 | |||
f14d388e83 | |||
ec0dd2f2ed | |||
ddd8ea9521 | |||
8d7d4c8a3b | |||
e65c5511ce | |||
5ba7738ee8 | |||
634a583365 | |||
d0e4c0b794 | |||
50f865a635 | |||
b2caec4f54 | |||
2de2f9480b | |||
eb7b7e48df | |||
a5347e4168 | |||
ee26997348 | |||
7f9d0d252d | |||
16da5b91fa | |||
24332a98c8 | |||
37d0dee412 | |||
be23766fc2 | |||
1f6a18a14b | |||
c0b430ec2c | |||
39e1ed720d | |||
d5fe43fc05 | |||
d154fcd94e | |||
fb6ee11d7a | |||
0614d2863a | |||
0bfbcc71ab | |||
cbf8d62cdc | |||
2af543c34e | |||
2da03082ec | |||
290231b394 | |||
4c6d88bae2 | |||
0a656de9e6 | |||
d1e5392a9a |
4
Makefile
4
Makefile
@ -1,9 +1,9 @@
|
|||||||
################################
|
################################
|
||||||
# Makefile pour XXX-XXX
|
# Makefile pour eole-prometheus
|
||||||
################################
|
################################
|
||||||
|
|
||||||
SOURCE=eole-prometheus
|
SOURCE=eole-prometheus
|
||||||
VERSION=0.1
|
VERSION=0.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 = Cadoles
|
Libellé du dépot = Dépôt officiel Grafana
|
||||||
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,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
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@ global:
|
|||||||
%if %%tls_smtp == "non"
|
%if %%tls_smtp == "non"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
%elif %%tls_smtp == "port 25"
|
%elif %%tls_smtp == "port 25"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%else
|
%else
|
||||||
smtp_smarthost: '%%exim_relay_smtp:465'
|
smtp_smarthost: '%%exim_relay_smtp:465'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%end if
|
%end if
|
||||||
smtp_from: '%%system_mail_from'
|
smtp_from: '%%system_mail_from'
|
||||||
%else
|
%else
|
||||||
@ -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
|
||||||
|
@ -3,7 +3,7 @@ apiVersion: 1
|
|||||||
datasources:
|
datasources:
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
type: prometheus
|
type: prometheus
|
||||||
access: direct
|
access: proxy
|
||||||
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