EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prometheus role
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ansible-public
prometheus role
Commits
c33ce236
Commit
c33ce236
authored
2 years ago
by
Karl Grube
Browse files
Options
Downloads
Patches
Plain Diff
order of rules
parent
0cc98061
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
files/core_alerts.yml
+8
-8
8 additions, 8 deletions
files/core_alerts.yml
with
8 additions
and
8 deletions
files/core_alerts.yml
+
8
−
8
View file @
c33ce236
...
...
@@ -107,14 +107,6 @@ groups:
annotations
:
summary
:
Host Network Transmit Errors (instance {{ $labels.instance }})
description
:
"
Host
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
\"
%.0f
\"
$value
}}
transmit
errors
in
the
last
two
minutes.
\n
VALUE
=
{{
$value
}}
\n
LABELS
=
{{
$labels
}}"
-
alert
:
HostClockNotSynchronising
expr
:
min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >=
16
for
:
2m
labels
:
severity
:
warning
annotations
:
summary
:
Host clock not synchronising (instance {{ $labels.instance }})
description
:
"
Clock
not
synchronising.
Ensure
NTP
is
configured
on
this
host.
\n
VALUE
=
{{
$value
}}
\n
LABELS
=
{{
$labels
}}"
-
alert
:
ContainerVolumeUsage
expr
:
(1 - (sum(container_fs_inodes_free{name!=""}) BY (instance) / sum(container_fs_inodes_total) BY (instance))) * 100 >
80
for
:
2m
...
...
@@ -139,6 +131,14 @@ groups:
annotations
:
summary
:
HTTP2 Server (instance {{ $labels.instance }} {{ $labels.domain }})
description
:
"
The
HTTP2
check
has
failed.
The
Server
is
unavailable.
\n
VALUE
=
{{
$value
}}
\n
LABELS
=
{{
$labels
}}"
-
alert
:
HostClockNotSynchronising
expr
:
min_over_time(node_timex_sync_status[1m]) == 0 and node_timex_maxerror_seconds >=
16
for
:
2m
labels
:
severity
:
warning
annotations
:
summary
:
Host clock not synchronising (instance {{ $labels.instance }})
description
:
"
Clock
not
synchronising.
Ensure
NTP
is
configured
on
this
host.
\n
VALUE
=
{{
$value
}}
\n
LABELS
=
{{
$labels
}}"
-
alert
:
HostClockSkew
expr
:
(node_timex_offset_seconds > 0.05 and deriv(node_timex_offset_seconds[5m]) >= 0) or (node_timex_offset_seconds < -0.05 and deriv(node_timex_offset_seconds[5m]) <= 0)
for
:
2m
...
...
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