Sysload: Collector errors 'VMware Guest API is not running in a Virtual Machine'

Document ID : KB000115120
Last Modified Date : 17/09/2018
Show Technical Document Details
Issue:
Graphes for CPU usage are empty and this error message : HH:MM:SS  coll - OVirtualizationEsx_OpenHandle : OpenHandle failed (iRc=2 -> 'VMware Guest API is not running in a Virtual Machine') appears in Collector logs
Environment:
Agent for Unix
Cause:
The VMware tools are not installed.
Resolution:
1 - Stop the Collector
2 - Edit the Collector configuration file
Modify the DisableVMGuestLib value as: 
[PARAM]
DisableVMGuestLib=1


3 - Save the Collector configuration file.
4 - Restart the Collector
Additional Information:
[PARAM] DisableVMGuestLib
#Format : Bolean
#Optional/Mandatory    : Optional
#Deactivation/Activation of the check if the VMware tools are installed on the
machine. If VMware tools are found then the program will try to do timekeeping correction
#Set to "0" in the default configuration file
#Appeared in v5.20

https://docs.automic.com/documentation/webhelp/english/ALL/components/SYS/5.8/Agents/help.htm#SPAG_5.80.05_Unix_en/Introduction.htm%3FTocPath%3DSystem%2520Agents%7CAgent%2520for%2520Unix%2520v5.8%7C_____1