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
0a6c4da6
Verified
Commit
0a6c4da6
authored
3 years ago
by
Quentin Duchemin
Browse files
Options
Downloads
Patches
Plain Diff
Fix network rules interpretation
parent
a8cefb09
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 @
0a6c4da6
...
@@ -133,40 +133,40 @@ groups:
...
@@ -133,40 +133,40 @@ groups:
-
name
:
network
-
name
:
network
rules
:
rules
:
-
alert
:
ReceiveHighErrors
-
alert
:
ReceiveHighErrors
expr
:
rate(node_network_receive_errs_total[2m]) / rate(node_network_receive_packets_total[2m]) >
0.0
1
expr
:
100 * (
rate(node_network_receive_errs_total[2m]) / rate(node_network_receive_packets_total[2m])
)
>
1
for
:
"
5m"
for
:
"
5m"
labels
:
labels
:
severity
:
warning
severity
:
warning
annotations
:
annotations
:
summary
:
Network interface is reporting many receive errors
summary
:
Network interface is reporting many receive errors
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
receive
errors
in
the
last
two
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
%
receive
errors
for
5
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
SendHighErrors
-
alert
:
SendHighErrors
expr
:
rate(node_network_transmit_errs_total[2m]) / rate(node_network_transmit_packets_total[2m]) >
0.0
1
expr
:
100 * (
rate(node_network_transmit_errs_total[2m]) / rate(node_network_transmit_packets_total[2m])
)
>
1
for
:
"
5m"
for
:
"
5m"
labels
:
labels
:
severity
:
warning
severity
:
warning
annotations
:
annotations
:
summary
:
Network interface is reporting many transmit errors
summary
:
Network interface is reporting many transmit errors
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
transmit
errors
in
the
last
two
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
%
transmit
errors
for
5
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
ReceiveHighDrop
-
alert
:
ReceiveHighDrop
expr
:
rate(node_network_receive_drop_total[2m]) / rate(node_network_receive_packets_total[2m]) >
0.0
1
expr
:
100 * (
rate(node_network_receive_drop_total[2m]) / rate(node_network_receive_packets_total[2m])
)
>
1
for
:
"
5m"
for
:
"
5m"
labels
:
labels
:
severity
:
warning
severity
:
warning
annotations
:
annotations
:
summary
:
Network interface is reporting many receive drops
summary
:
Network interface is reporting many receive drops
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
receive
drops
in
the
last
two
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
%
receive
drops
for
5
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
alert
:
SendHighDrop
-
alert
:
SendHighDrop
expr
:
rate(node_network_transmit_drop_total[2m]) / rate(node_network_transmit_packets_total[2m]) >
0.0
1
expr
:
100 * (
rate(node_network_transmit_drop_total[2m]) / rate(node_network_transmit_packets_total[2m])
)
>
1
for
:
"
5m"
for
:
"
5m"
labels
:
labels
:
severity
:
warning
severity
:
warning
annotations
:
annotations
:
summary
:
Network interface is reporting many transmit drops
summary
:
Network interface is reporting many transmit drops
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
transmit
drops
in
the
last
two
minutes.'
description
:
'
{{
$labels.instance
}}
interface
{{
$labels.device
}}
has
encountered
{{
printf
"%.0f"
$value
}}
%
transmit
drops
for
5
minutes.'
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
dashboard
:
https://grafana.picasoft.net/d/QPF5l5uZa/network?var-node={{ $labels.instance }}
-
name
:
services
-
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