Netdata Community

Entropy alarms false positives?

Environment

Linux node1.feldcloud.net 5.4.17-2036.101.2.el7uek.x86_64 #2 SMP Wed Dec 2 17:56:16 PST 2020 x86_64 x86_64 x86_64 GNU/Linux
/etc/oracle-release:Oracle Linux Server release 7.9
/etc/os-release:NAME="Oracle Linux Server"
/etc/os-release:VERSION="7.9"
/etc/os-release:ID="ol"
/etc/os-release:ID_LIKE="fedora"
/etc/os-release:VARIANT="Server"
/etc/os-release:VARIANT_ID="server"
/etc/os-release:VERSION_ID="7.9"
/etc/os-release:PRETTY_NAME="Oracle Linux Server 7.9"
/etc/os-release:ANSI_COLOR="0;31"
/etc/os-release:CPE_NAME="cpe:/o:oracle:linux:7:9:server"
/etc/os-release:HOME_URL="https://linux.oracle.com/"
/etc/os-release:BUG_REPORT_URL="https://bugzilla.oracle.com/"
/etc/os-release:
/etc/os-release:ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
/etc/os-release:ORACLE_BUGZILLA_PRODUCT_VERSION=7.9
/etc/os-release:ORACLE_SUPPORT_PRODUCT="Oracle Linux"
/etc/os-release:ORACLE_SUPPORT_PRODUCT_VERSION=7.9
/etc/redhat-release:Red Hat Enterprise Linux Server release 7.9 (Maipo)
/etc/system-release:Oracle Linux Server release 7.9

Netdata version

netdata v1.28.0

Problem/Question

I am getting many times a day low entropy alarms, but looks like false positives.

I geting following warnings

Alarm information: lowest_entropy minimum entries in the random numbers pool in the last 10 minutes
--
Alarm value: 19 entries

but when I login to host immediatelly and run following command I get much higher value

# cat /proc/sys/kernel/random/entropy_avail 
3310

What I expected to happen

No false positives, or missing I something?

This is indeed strange @feldsam. I can’t reproduce it on my Ubuntu linux machine, so it might have to do with that particular distribution.

@Austin_Hemmelgarn perhaps can shed some light, seeing that he has participated in early discussions about our entropy collector.

By the way, welcome to our community!

This issue was reposted on our GitHub, so part of the discussion started there. Posting here the GitHub issue for posterity: