Please provide your feedback in this short Flings' survey.
This fling has been deprecated.
Dec 01, 2019

Hello Community,

i have this Problem

pip3 --version

pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

./ line 5: $'\nCopyright 2018 VMware, Inc. All rights reserved.\n\n@author: heejeong\n': command not found
./ line 6: import: command not found
from: can't read /var/mail/tools
from: can't read /var/mail/tools
from: can't read /var/mail/tools
from: can't read /var/mail/pip._vendor.distlib.compat
./ line 16: $'\nSimple command-line program to collect system information and validate its VMware compatibility\n': command not found
./ line 17: class: command not found
./ line 18: syntax error near unexpected token `('
./ line 18: ` def __init__(self):'

Dec 02, 2019

Hi Asmir,

Could you please try this:

$python3 ./compchecker -s <hostname> -u <username>

if it doesn't work, please specify the full python path

Nov 26, 2019


I'm trying to run the tool but I am getting the following error message. Any ideas as to how I can get around this issue? -s XXXXXXXXXX -u administrator@XXXXXXXXXXX
Failed to get server certificate information from
[Exception] [WinError 10061] No connection could be made because the target machine actively refused it[WinError 10061] No connection could be made because the target machine actively refused it


Nov 26, 2019


Could you please verify your host and user? The error usually happens when the script cannot access the specified host & user.

Nov 26, 2019

Hi. Thanks for the reply.

Should I be connecting to an individual host or vcenter? I'm using vcenter.

If it's a host, do I need to enable ssh and/or shell?

Nov 26, 2019

The compchecker script can connect to either a vCentor or an ESXi host. But the error happens when it fails to connect the specified host with the username. Can you use the "ping" command to check the host is accessible?

Nov 26, 2019

I've tried both a host and vcenter but get the same error. Yes, I can ping both and have tried FQDN and IP Address. For vcenter, I'm using the SSO administrator username administrator@<SSO Domain> and for the host, I'm using root.

Nov 26, 2019
Nov 26, 2019

I can for both the host and vcenter however, I do get a certificate error in the broswer. However, when I view the certificate the chain is correct and should be trusted.

Nov 26, 2019

if you can access the MOB using the same host & user account, the compcheck script should be able to connect as they are using the same API. I am not sure why but the script cannot connect with the host & user based on the error that you provided.

Sep 17, 2019

HI jitla

For some reason, I couldn't reply to your email.
But it seems that you didn't install pyVmoni which is required a library.

Here are the installation steps:

Download the latest Python package from Python Download.
Install Python Package, select the option to install "pip".
Installl Pyvmoni
python -m pip install pyvmomi
Installl crypto
python -m pip install crypto
Installl pyopenssl
python -m pip install pyopenssl

Could you please try and let me know if you still have problems?

Sep 13, 2019

Hi I am totally new to python, so have been trying to follow the instructions outlined.
but i am having the below issue, which i am not sure, how to get around.
Any help would be greatly appreciated.
D:\HostChecker\compchecker_v1_10066133>python -s x.x.x.x -u *****
Traceback (most recent call last):
File "", line 10, in <module>
from tools import hostmanager
File "D:\HostChecker\compchecker_v1_10066133\tools\", line 11, in <module>
from tools import hostresource
File "D:\HostChecker\compchecker_v1_10066133\tools\", line 7, in <module>
from tools import common, compvalidator, hostaccess, restservice, cmdutil
File "D:\HostChecker\compchecker_v1_10066133\tools\", line 7, in <module>
from tools import restservice, hostaccess
File "D:\HostChecker\compchecker_v1_10066133\tools\", line 9, in <module>
from pyVim import connect
ModuleNotFoundError: No module named 'pyVim'

Thank you