Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cookbooks
runbooks
Commits
a232b94f
Commit
a232b94f
authored
Oct 12, 2018
by
John Jarvis
Browse files
Limit kernel check to main stage.
parent
a39d470e
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/node.yml
View file @
a232b94f
...
...
@@ -141,7 +141,7 @@ groups:
value
:
'
Available
memory
{{
$value
|
printf
"%.2f"
}}%'
title
:
Node is under heavy memory pressure
-
alert
:
KernelVersionDeviations
expr
:
count(sum(label_replace(node_uname_info{environment=~"gprd"}, "kernel", "$1", "release", "([0-9]+.[0-9]+.[0-9]+).*")) by (kernel)) >
1
expr
:
count(sum(label_replace(node_uname_info{environment=~"gprd"
, stage="main"
}, "kernel", "$1", "release", "([0-9]+.[0-9]+.[0-9]+).*")) by (kernel)) >
1
for
:
30m
labels
:
channel
:
alerts-gprd
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment