fix(monitoring): fix NodeLowEntropy alerts
In newer versions of the Kernel, it only generates 256
instead of the previous 4096 bits of entropy. This
change instead moves the low entropy alerts to be
more dynamic instead of a static number.
Related: https://unix.stackexchange.com/q/704737
diff --git a/atmosphere/jsonnet/legacy.libsonnet b/atmosphere/jsonnet/legacy.libsonnet
index 9eeaf42..426da4f 100644
--- a/atmosphere/jsonnet/legacy.libsonnet
+++ b/atmosphere/jsonnet/legacy.libsonnet
@@ -153,7 +153,7 @@
},
{
alert: 'NodeLowEntropy',
- expr: 'node_entropy_available_bits < 1000',
+ expr: 'node_entropy_available_bits / node_entropy_pool_size_bits < 0.20',
'for': '5m',
labels: {
severity: 'warning',