Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
77fd9223
Verified
Commit
77fd9223
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
[prometheus] Add mount point and do not spam every 3h
parent
c166f335
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2
+2
-2
2 additions, 2 deletions
...eus-alertmanager/templates/prometheus/alertmanager.yml.j2
roles/prometheus/templates/prometheus/alert.rules.yml.j2
+3
-3
3 additions, 3 deletions
roles/prometheus/templates/prometheus/alert.rules.yml.j2
with
5 additions
and
5 deletions
roles/prometheus-alertmanager/templates/prometheus/alertmanager.yml.j2
+
2
−
2
View file @
77fd9223
...
...
@@ -24,7 +24,7 @@ route:
# This way ensures that you get multiple alerts for the same group that start
# firing shortly after another are batched together on the first
# notification.
group_wait:
30s
group_wait:
1m
# When the first notification was sent, wait 'group_interval' to send a batch
# 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
# resend them.
repeat_interval:
3
h
repeat_interval:
12
h
# A default receiver
#receiver: team-roots-mails
...
...
This diff is collapsed.
Click to expand it.
roles/prometheus/templates/prometheus/alert.rules.yml.j2
+
3
−
3
View file @
77fd9223
...
...
@@ -33,8 +33,8 @@ groups:
labels:
severity: warning
annotations:
summary: "Presque plus de stockage sur {{ $labels.instance }}"
description: "L
e disque
est presque rempli ({{ $value }}% restant)"
summary: "Presque plus de stockage sur {{
$labels.mountpoint }} sur {{
$labels.instance }}"
description: "L
a partition
est presque rempli
e
({{ $value }}% restant)"
# Alert for out of inode space on disk
- alert: OutOfInodes
...
...
@@ -43,7 +43,7 @@ groups:
labels:
severity: warning
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)"
# Alert for high CPU usage
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment