I'm trying to use "vSphere Data Collector" and to configure my proxy to reach VSphere.
I tried to use the http_proxy and https_proxy global variables but I still obtain :
[itopi@infraf1r1 VSphere-data-collector]$ php exec.php
Info - Contact to notify: 'Remy CASTALDI' xxx.yyyyyyy@zzzzzzz (4).
PHP Warning: Invalid argument supplied for foreach() in /USR/itopi/VSphere-data-collector/core/orchestrator.class.inc.php on line 179
Info - Ok, the Synchro Data Source 'vSphere:Brand' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:Model' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:OSFamily' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:OSVersion' exists in iTop and is up to date
Info - The Synchro Data Source definition for 'vSphere:Farm' must be updated in iTop.
Info - Ok, the Synchro Data Source 'vSphere:Server' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:Hypervisor' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:VirtualMachine' exists in iTop and is up to date
Info - vSphereBrandCollector beginning of data collection... Error - vSphereBrandCollector::Collect() got an exception: Could not connect to host
When I put alerts on the proxy in order to verify the received request, it is clear that nothing arrives to the proxy.
Any idea to configure the PHP application to use my proxy to reach my VSphere server ?
Thanks for your answers
R. CASTALDI
Last edit: CASTALDI Remy 2016-05-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody
I'm trying to use "vSphere Data Collector" and to configure my proxy to reach VSphere.
I tried to use the http_proxy and https_proxy global variables but I still obtain :
[itopi@infraf1r1 VSphere-data-collector]$ php exec.php
Info - Contact to notify: 'Remy CASTALDI' xxx.yyyyyyy@zzzzzzz (4).
PHP Warning: Invalid argument supplied for foreach() in /USR/itopi/VSphere-data-collector/core/orchestrator.class.inc.php on line 179
Info - Ok, the Synchro Data Source 'vSphere:Brand' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:Model' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:OSFamily' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:OSVersion' exists in iTop and is up to date
Info - The Synchro Data Source definition for 'vSphere:Farm' must be updated in iTop.
Info - Ok, the Synchro Data Source 'vSphere:Server' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:Hypervisor' exists in iTop and is up to date
Info - Ok, the Synchro Data Source 'vSphere:VirtualMachine' exists in iTop and is up to date
Info - vSphereBrandCollector beginning of data collection...
Error - vSphereBrandCollector::Collect() got an exception: Could not connect to host
When I put alerts on the proxy in order to verify the received request, it is clear that nothing arrives to the proxy.
Any idea to configure the PHP application to use my proxy to reach my VSphere server ?
Thanks for your answers
R. CASTALDI
Last edit: CASTALDI Remy 2016-05-06
Bonjour, j'ai le même problème que vous, est-ce que vous avez trouvé une solution ? Cdt