Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
float
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
float
Commits
f2972b7b
Commit
f2972b7b
authored
4 months ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Add another DiskUnhealthy trigger when disks fail SMART self-tests
parent
43bf82d2
Loading
Loading
No related merge requests found
Pipeline
#82602
passed
4 months ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/float-infra-prometheus/templates/rules/alerts_system_health.conf.yml
+10
-1
10 additions, 1 deletion
...-prometheus/templates/rules/alerts_system_health.conf.yml
with
10 additions
and
1 deletion
roles/float-infra-prometheus/templates/rules/alerts_system_health.conf.yml
+
10
−
1
View file @
f2972b7b
...
...
@@ -3,13 +3,22 @@ groups:
rules
:
-
alert
:
DiskUnhealthy
expr
:
smartmon_device_smart_healthy <
1
for
:
2
h
for
:
1
h
labels
:
severity
:
warn
annotations
:
summary
:
"
Disk
{{
$labels.disk
}}
on
{{
$labels.host
}}
is
unhealthy"
description
:
"
Disk
{{
$labels.disk
}}
on
{{
$labels.host
}}
is
reporting
unhealthy
SMART
status
and
might
need
to
be
replaced."
-
alert
:
DiskUnhealthy
expr
:
smartmon_self_test_status <
1
for
:
1h
labels
:
severity
:
warn
annotations
:
summary
:
"
Disk
{{
$labels.disk
}}
on
{{
$labels.host
}}
failed
its
self-test"
description
:
"
Disk
{{
$labels.disk
}}
on
{{
$labels.host
}}
failed
its
{{
$labels.test
}}
SMART
self-test,
and
might
need
to
be
replaced."
-
alert
:
RAIDDeviceUnhealthy
expr
:
node_md_degraded >
0
for
:
15m
...
...
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