Having just configured Munin for statistics logging on my gentoo server (hardened profile), I am noticing that my "Available entropy" is consitently in the 200-300 range. This seems way to low, so I checked it manually using the command
$ cat /proc/sys/kernel/random/entropy_avail
3544
Odd. Consistently very low values in Munin and practically filled up when checking manually. After thinking about the problem for a while I came to the conclusion that the problem is probably that I'm using Adress Space Layout Randomization which is using the entropy when running commands/programs. Since Munin runs a whole slew of programs all the entropy is used up, and Munin then measures how much entropy there is, resulting in the low values.
Does anyone have any experience with this? How can this be avoided?
Another similar solution would be to a new entropy plugin that
The good thing about this solution is that it would not require you to involve cron.
Since Munin plugins usually are run every fifth minute this would mean your entropy would be 2 minutes delayed but it certainly sounds a lot better than incorrect data.
I see you haven't received an answer. In case you are right that the entropy is shown wrong because of all the other processes you could call your entropy munin plugin through a cronjob script and cache its result to file. You then modify the original Munin entropy plugin to just return the previously cached result. It's worth a shot.
Looks to be solved in version 1.4.3