aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPovilas Versockas <p.versockas@gmail.com>2020-03-05 08:55:11 +0200
committerJohannes 'fish' Ziemke <github@freigeist.org>2020-03-20 17:46:05 +0100
commit48bb6f670c6b8e1755312d19ab03686f8d555916 (patch)
tree712c985eadac0c88a81e712bbdbd05164741ef8d /docs
parent34d50e15d56a5bc455687b6c535962f12505c7e1 (diff)
downloadprometheus_node_collector-48bb6f670c6b8e1755312d19ab03686f8d555916.tar.bz2
prometheus_node_collector-48bb6f670c6b8e1755312d19ab03686f8d555916.tar.xz
prometheus_node_collector-48bb6f670c6b8e1755312d19ab03686f8d555916.zip
Add NodeHighNumberConntrackEntriesUsed
Signed-off-by: Povilas Versockas <p.versockas@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/node-mixin/alerts/alerts.libsonnet13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/node-mixin/alerts/alerts.libsonnet b/docs/node-mixin/alerts/alerts.libsonnet
index b95b1c5..b63d2a5 100644
--- a/docs/node-mixin/alerts/alerts.libsonnet
+++ b/docs/node-mixin/alerts/alerts.libsonnet
@@ -184,6 +184,19 @@
184 description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.', 184 description: '{{ $labels.instance }} interface {{ $labels.device }} has encountered {{ printf "%.0f" $value }} transmit errors in the last two minutes.',
185 }, 185 },
186 }, 186 },
187 {
188 alert: 'NodeHighNumberConntrackEntriesUsed',
189 expr: |||
190 (node_nf_conntrack_entries / node_nf_conntrack_entries_limit) > 0.75
191 ||| % $._config,
192 annotations: {
193 summary: 'Number of conntrack are getting close to the limit'
194 description: '{{ $value | humanizePercentage }} of conntrack entries are used',
195 },
196 labels: {
197 severity: 'warning',
198 },
199 },
187 ], 200 ],
188 }, 201 },
189 ], 202 ],