Modify monitoring condition for Kernel differences.

This commit is contained in:
Kazuhiro MUSASHI 2020-10-24 13:07:11 +09:00
parent 47a854653e
commit 1a530ed7de
1 changed files with 2 additions and 2 deletions

View File

@ -176,8 +176,8 @@ groups:
description: "At least one device in RAID array on {{ $labels.instance }} failed. Array {{ $labels.md_device }} needs attention and possibly a disk swap\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostKernelVersionDeviations
expr: count(sum(label_replace(node_uname_info, "kernel", "$1", "release", "([0-9]+.[0-9]+.[0-9]+).*")) by (kernel)) > 1
for: 5m
expr: count(sum(label_replace(node_uname_info, "kernel", "$1", "release", "([0-9]+.[0-9]+.[0-9]+).*")) by (kernel)) > 2
for: 24h
labels:
severity: warning
annotations: