ESXi - Timeout
Posted: Mon Jan 31, 2022 12:26 pm
Hi Team,
I have tried to add a host using vmware wizard, I was able to add 2 hosts successfully however i have 4 more to be added onto which I get the timeout error, I have pasted all possible o/p's I can please help to resolve this issue:
[hpeadmin@hpenagios libexec]$ ./check_vmware_api.pl -H 10.16.68.28 -u hpemon -p bG6Xw6nB -l cpu -s usage -w 80 -c 90
CHECK_VMWARE_API.PL UNKNOWN - plugin timed out (timeout 30s)
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios general]$ ./connect.pl https://10.16.68.28/sdk/vimService --username hpemon --password bG6Xw6nB
Server version unavailable at 'https://localhost:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.
[hpeadmin@hpenagios general]$ ./connect.pl https://10.16.68.28/sdk/vimService --username hpemon --password bG6Xw6nB --verbose
Server version unavailable at 'https://localhost:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios general]$ nmap -Pn -p 443 10.16.68.28
Starting Nmap 7.70 ( https://nmap.org ) at 2022-01-31 16:45 CET
Nmap scan report for 10.16.68.28
Host is up (0.00020s latency).
PORT STATE SERVICE
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios tmp]$ curl -k -L -v 'https://10.16.68.28:443/sdk/vimService.wsdl' >>curloutput
* Trying 10.16.68.28...
* TCP_NODELAY set
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 10.16.68.28 (10.16.68.28) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [57 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1075 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=US; ST=California; L=Palo Alto; O=VMware; OU=VMware Engineering; CN=10.16.68.28; emailAddress=[email protected]
* start date: Jun 17 06:32:49 2020 GMT
* expire date: Jun 17 06:32:49 2025 GMT
* issuer: CN=CA; DC=vsphere; DC=local; C=US; ST=California; O=photon-machine; OU=VMware Engineering
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
} [5 bytes data]
> GET /sdk/vimService.wsdl HTTP/1.1
> Host: 10.16.68.28
> User-Agent: curl/7.61.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Date: Mon, 31 Jan 2022 15:46:14 GMT
< Cache-Control: no-cache
< Connection: Keep-Alive
< Content-Type: text/xml; charset=utf-8
< X-Frame-Options: DENY
< Content-Length: 545
<
{ [545 bytes data]
100 545 100 545 0 0 38928 0 --:--:-- --:--:-- --:--:-- 38928
* Connection #0 to host 10.16.68.28 left intact
[hpeadmin@hpenagios tmp]$
I have tried to add a host using vmware wizard, I was able to add 2 hosts successfully however i have 4 more to be added onto which I get the timeout error, I have pasted all possible o/p's I can please help to resolve this issue:
[hpeadmin@hpenagios libexec]$ ./check_vmware_api.pl -H 10.16.68.28 -u hpemon -p bG6Xw6nB -l cpu -s usage -w 80 -c 90
CHECK_VMWARE_API.PL UNKNOWN - plugin timed out (timeout 30s)
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios general]$ ./connect.pl https://10.16.68.28/sdk/vimService --username hpemon --password bG6Xw6nB
Server version unavailable at 'https://localhost:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.
[hpeadmin@hpenagios general]$ ./connect.pl https://10.16.68.28/sdk/vimService --username hpemon --password bG6Xw6nB --verbose
Server version unavailable at 'https://localhost:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 704.
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios general]$ nmap -Pn -p 443 10.16.68.28
Starting Nmap 7.70 ( https://nmap.org ) at 2022-01-31 16:45 CET
Nmap scan report for 10.16.68.28
Host is up (0.00020s latency).
PORT STATE SERVICE
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
================================================================================================================================================
================================================================================================================================================
[hpeadmin@hpenagios tmp]$ curl -k -L -v 'https://10.16.68.28:443/sdk/vimService.wsdl' >>curloutput
* Trying 10.16.68.28...
* TCP_NODELAY set
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 10.16.68.28 (10.16.68.28) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [57 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [1075 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: C=US; ST=California; L=Palo Alto; O=VMware; OU=VMware Engineering; CN=10.16.68.28; emailAddress=[email protected]
* start date: Jun 17 06:32:49 2020 GMT
* expire date: Jun 17 06:32:49 2025 GMT
* issuer: CN=CA; DC=vsphere; DC=local; C=US; ST=California; O=photon-machine; OU=VMware Engineering
* SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway.
} [5 bytes data]
> GET /sdk/vimService.wsdl HTTP/1.1
> Host: 10.16.68.28
> User-Agent: curl/7.61.1
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Date: Mon, 31 Jan 2022 15:46:14 GMT
< Cache-Control: no-cache
< Connection: Keep-Alive
< Content-Type: text/xml; charset=utf-8
< X-Frame-Options: DENY
< Content-Length: 545
<
{ [545 bytes data]
100 545 100 545 0 0 38928 0 --:--:-- --:--:-- --:--:-- 38928
* Connection #0 to host 10.16.68.28 left intact
[hpeadmin@hpenagios tmp]$