Home » Categories » Multiple Categories

VMWare checks timing out or slow

Issue:

If your VMWare checks experience timeouts or are unusually slow, you may be running out of available entropy (available random numbers) on the XI server. These random numbers are necessary for the VMWare Perl SDK to function properly/quickly. Random number generation is expensive in terms of CPU cost, so you can see delays until there are enough random numbers to fulfill the random number request.

You can validate if you are running out of entropy by running the below command when you are experiencing slowness with the check_vmware_api.pl plugin or any other plugin that uses the VMWare Perl SDK:
NOTE: You may need to run it multiple times to catch the issue but the number should not be close to zero.

cat /proc/sys/kernel/random/entropy_avail

If it is close to zero you are likely running out of entropy and you'll need to install a service to fix the system (see below):

NOTE: If you get any errors related to not having a hardware RNG device, you'll need to look at adding a hardware random number generator to the system before rng-tools will work properly:

Feb 10 17:15:04 xxxxx rng-tools[22520]: Starting Hardware RNG entropy gatherer daemon: (Hardware RNG device inode not found)
Feb 10 17:15:04 xxxxx rng-tools[22520]: /etc/init.d/rng-tools: Cannot find a hardware RNG device to use.

Potential Solution:

Run the below commands to solve the available entropy issue:

Currently supported versions of the Enterprise Linux (CentOS/RHEL/Oracle):

sudo yum install rng-tools
sudo systemctl enable rngd
sudo systemctl start rngd

Debian/Ubuntu:

sudo apt install rng-tools
sudo systemctl enable rng-tools
sudo systemctl start rng-tools

After running these commands, run the entropy test again to see if the issue is resolved.

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 17183 times since Tue, Aug 2, 2016
Backups are not being generated due to tar creation errors
Viewed 3204 times since Thu, Feb 27, 2020
Nagios XI - Debugging Bandwidth Performance Graphs
Viewed 13409 times since Tue, Jan 27, 2015
Nagios XI - Hosts Pending/Gray
Viewed 10311 times since Tue, Jan 6, 2015
Nagios XI - Schedulded Backups No Longer Working
Viewed 6889 times since Fri, Jun 3, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 3572 times since Tue, Feb 2, 2016
Nagios XI - How To Use CA Certificates With check_ldaps Plugin
Viewed 9992 times since Tue, Jul 26, 2016
Nagios XI - MK Livestatus Problems With Mod-Gearman
Viewed 4876 times since Thu, Feb 25, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 5584 times since Mon, Oct 17, 2016
CCM says unapplied changes exist, but none listed
Viewed 4604 times since Mon, Feb 27, 2017