Skip to content

Commit 8c7cb82

Browse files
sagor999roboquat
authored andcommitted
add alert for conntrack table getting full
1 parent 2426dce commit 8c7cb82

File tree

1 file changed

+32
-0
lines changed
  • operations/observability/mixins/cross-teams/rules/components/nodes

1 file changed

+32
-0
lines changed

operations/observability/mixins/cross-teams/rules/components/nodes/alerts.libsonnet

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,38 @@
2929
) - 10 < 5
3030
|||,
3131
},
32+
{
33+
alert: 'GitpodNodeConntrackTableIsFull',
34+
labels: {
35+
severity: 'critical',
36+
},
37+
'for': '5m',
38+
annotations: {
39+
runbook_url: 'https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodNodeConntrackTableIsFull.md',
40+
summary: 'Node conntrack table is almost full',
41+
description: 'Node {{ $labels.node }} conntrack table is almost full. If it gets full, packets will be getting dropped.',
42+
},
43+
expr:
44+
|||
45+
(node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.95
46+
|||,
47+
},
48+
{
49+
alert: 'GitpodNodeConntrackTableGettingFull',
50+
labels: {
51+
severity: 'warning',
52+
},
53+
'for': '10m',
54+
annotations: {
55+
runbook_url: 'https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodNodeConntrackTableIsFull.md',
56+
summary: 'Node conntrack table is getting full',
57+
description: 'Node {{ $labels.node }} conntrack table is getting full. If it gets full, packets will be getting dropped.',
58+
},
59+
expr:
60+
|||
61+
(node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.80
62+
|||,
63+
},
3264
],
3365
},
3466
],

0 commit comments

Comments
 (0)