VMware vSphere Health Check Report v5.1.0 : Error
I am trying to configure the VMware vSphere Health Check Report v5.1.0 script in my environment.
I have V Sphere 5.0 & i have downloaded & configured the vSphere Management Assistant.machine.
When i run the script according to the document http://communities.vmware.com/docs/DOC-9842
& getting the below mentioned error when i try to run ./vmwarevSphereHealthCheck.pl --server VC_SERVER --username VC_USERNAME --password VC_PASSWORD --type vcenter
Server version unavailable at 'https://WIN-I45GLNSCJL9:443/sdk/vimService.wsdl' at /usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545, <STDIN> line 1.
Kindly help me how to proceed.
I am having the same issue, but only when running in a cron job, running it manually works fine for me.
Any updates on this?
... this is most likely caused by an invalid / self-signed (VMware default) SSL-certificate.
Try to add
# Disable SSL Verification export PERL_LWP_SSL_VERIFY_HOSTNAME=0
to healthCheck.sh to disable PERL SSL verification before running the PERL Script.