[prometheus] Add mount point and do not spam every 3h
parent
c166f33507
commit
77fd922311
|
@ -24,7 +24,7 @@ route:
|
||||||
# This way ensures that you get multiple alerts for the same group that start
|
# This way ensures that you get multiple alerts for the same group that start
|
||||||
# firing shortly after another are batched together on the first
|
# firing shortly after another are batched together on the first
|
||||||
# notification.
|
# notification.
|
||||||
group_wait: 30s
|
group_wait: 1m
|
||||||
|
|
||||||
# When the first notification was sent, wait 'group_interval' to send a batch
|
# When the first notification was sent, wait 'group_interval' to send a batch
|
||||||
# of new alerts that started firing for that group.
|
# of new alerts that started firing for that group.
|
||||||
|
@ -32,7 +32,7 @@ route:
|
||||||
|
|
||||||
# If an alert has successfully been sent, wait 'repeat_interval' to
|
# If an alert has successfully been sent, wait 'repeat_interval' to
|
||||||
# resend them.
|
# resend them.
|
||||||
repeat_interval: 3h
|
repeat_interval: 12h
|
||||||
|
|
||||||
# A default receiver
|
# A default receiver
|
||||||
#receiver: team-roots-mails
|
#receiver: team-roots-mails
|
||||||
|
|
|
@ -33,8 +33,8 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Presque plus de stockage sur {{ $labels.instance }}"
|
summary: "Presque plus de stockage sur {{ $labels.mountpoint }} sur {{ $labels.instance }}"
|
||||||
description: "Le disque est presque rempli ({{ $value }}% restant)"
|
description: "La partition est presque remplie ({{ $value }}% restant)"
|
||||||
|
|
||||||
# Alert for out of inode space on disk
|
# Alert for out of inode space on disk
|
||||||
- alert: OutOfInodes
|
- alert: OutOfInodes
|
||||||
|
@ -43,7 +43,7 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
annotations:
|
annotations:
|
||||||
summary: "Presque plus d'inodes disque sur {{ $labels.instance }}"
|
summary: "Presque plus d'inodes disque sur {{ $labels.mountpoint }} sur {{ $labels.instance }}"
|
||||||
description: "Le disque est presque à courre d'inodes disponibles ({{ $value }}% restant)"
|
description: "Le disque est presque à courre d'inodes disponibles ({{ $value }}% restant)"
|
||||||
|
|
||||||
# Alert for high CPU usage
|
# Alert for high CPU usage
|
||||||
|
|
Loading…
Reference in New Issue