Skip to content

Commit

Permalink
Add NodeHighNumberConntrackEntriesUsed
Browse files Browse the repository at this point in the history
Signed-off-by: Povilas Versockas <[email protected]>
  • Loading branch information
povilasv authored and discordianfish committed Mar 20, 2020
1 parent 34d50e1 commit 48bb6f6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/node-mixin/alerts/alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},
],
},
],
Expand Down

0 comments on commit 48bb6f6

Please sign in to comment.