Add NodeHighNumberConntrackEntriesUsed

Signed-off-by: Povilas Versockas <p.versockas@gmail.com>
This commit is contained in:
Povilas Versockas 2020-03-05 08:55:11 +02:00 committed by Johannes 'fish' Ziemke
parent 34d50e15d5
commit 48bb6f670c
1 changed files with 13 additions and 0 deletions

View File

@ -184,6 +184,19 @@
description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.',
},
},
{
alert: 'NodeHighNumberConntrackEntriesUsed',
expr: |||
(node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
||| % $._config,
annotations: {
summary: 'Number of conntrack are getting close to the limit'
description: '{{ $value | humanizePercentage }} of conntrack entries are used',
},
labels: {
severity: 'warning',
},
},
],
},
],