Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dockerfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Picasoft
Technique
Dockerfiles
Commits
72db3f67
Verified
Commit
72db3f67
authored
3 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
[Alerting] Send network alert if errors/drop last at least 30m
parent
406bca8f
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
pica-metrologie/vmalert-rules.yml
+8
-8
8 additions, 8 deletions
pica-metrologie/vmalert-rules.yml
with
8 additions
and
8 deletions
pica-metrologie/vmalert-rules.yml
+
8
−
8
View file @
72db3f67
...
...
@@ -134,39 +134,39 @@ groups:
rules
:
-
alert
:
ReceiveHighErrors
expr
:
100 * (rate(node_network_receive_errs_total[2m]) / rate(node_network_receive_packets_total[2m])) >
1
for
:
"
5
m"
for
:
"
30
m"
labels
:
severity
:
warning
annotations
:
summary
:
Network interface is reporting many receive errors
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
receive
errors
for
5
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
receive
errors
for
30
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
SendHighErrors
expr
:
100 * (rate(node_network_transmit_errs_total[2m]) / rate(node_network_transmit_packets_total[2m])) >
1
for
:
"
5
m"
for
:
"
30
m"
labels
:
severity
:
warning
annotations
:
summary
:
Network interface is reporting many transmit errors
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
transmit
errors
for
5
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
transmit
errors
for
30
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
ReceiveHighDrop
expr
:
100 * (rate(node_network_receive_drop_total[2m]) / rate(node_network_receive_packets_total[2m])) >
1
for
:
"
5
m"
for
:
"
30
m"
labels
:
severity
:
warning
annotations
:
summary
:
Network interface is reporting many receive drops
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
receive
drops
for
5
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
receive
drops
for
30
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
SendHighDrop
expr
:
100 * (rate(node_network_transmit_drop_total[2m]) / rate(node_network_transmit_packets_total[2m])) >
1
for
:
"
5
m"
for
:
"
30
m"
labels
:
severity
:
warning
annotations
:
summary
:
Network interface is reporting many transmit drops
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
transmit
drops
for
5
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}%
transmit
drops
for
30
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
name
:
services
...
...
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