Add debian common role
This commit is contained in:
16
common-debian/files/usr/lib/check_mk_agent/plugins/entropy
Executable file
16
common-debian/files/usr/lib/check_mk_agent/plugins/entropy
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Entropy availability check for Check_MK
|
||||
# Installed by BLSE 2.x ansible
|
||||
|
||||
if [ -e /proc/sys/kernel/random/entropy_avail ]; then
|
||||
|
||||
echo '<<<entropy_avail>>>'
|
||||
|
||||
echo -n "entropy_avail "
|
||||
cat /proc/sys/kernel/random/entropy_avail
|
||||
|
||||
echo -n "poolsize "
|
||||
cat /proc/sys/kernel/random/poolsize
|
||||
|
||||
fi
|
Reference in New Issue
Block a user