summaryrefslogtreecommitdiffstats
path: root/health/health.d/entropy.conf
diff options
context:
space:
mode:
Diffstat (limited to 'health/health.d/entropy.conf')
-rw-r--r--health/health.d/entropy.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/health/health.d/entropy.conf b/health/health.d/entropy.conf
new file mode 100644
index 000000000..66d44ec13
--- /dev/null
+++ b/health/health.d/entropy.conf
@@ -0,0 +1,16 @@
+
+# check if entropy is too low
+# the alarm is checked every 1 minute
+# and examines the last hour of data
+
+ alarm: lowest_entropy
+ on: system.entropy
+ os: linux
+ hosts: *
+ lookup: min -10m unaligned
+ units: entries
+ every: 5m
+ warn: $this < (($status >= $WARNING) ? (200) : (100))
+ delay: down 1h multiplier 1.5 max 2h
+ info: minimum entries in the random numbers pool in the last 10 minutes
+ to: silent