summaryrefslogtreecommitdiffstats
path: root/src/health/health.d/netfilter.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/health/health.d/netfilter.conf')
-rw-r--r--src/health/health.d/netfilter.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/health/health.d/netfilter.conf b/src/health/health.d/netfilter.conf
new file mode 100644
index 000000000..e0a05c8de
--- /dev/null
+++ b/src/health/health.d/netfilter.conf
@@ -0,0 +1,18 @@
+# you can disable an alarm notification by setting the 'to' line to: silent
+
+ alarm: netfilter_conntrack_full
+ on: netfilter.conntrack_sockets
+ class: Workload
+ type: System
+ component: Network
+host labels: _os=linux
+ lookup: max -10s unaligned of connections
+ calc: $this * 100 / $netfilter_conntrack_max
+ units: %
+ every: 10s
+ warn: $this > (($status >= $WARNING) ? (85) : (90))
+ crit: $this > (($status == $CRITICAL) ? (90) : (95))
+ delay: down 5m multiplier 1.5 max 1h
+ summary: System Netfilter connection tracker utilization
+ info: Netfilter connection tracker table size utilization
+ to: sysadmin