ENGLISH BELOW

Bonjour à tous,

J'ai une petite question concernant la synchronisation vSphere avec iTop. En effet, j'ai un petit souci lors du lancement du script exec.php. J'ai correctement configuré le fichier conf/params.local.xml comme suit :

<?xml version="1.0" encoding="UTF-8"?>
<parameters>

  <itop_url>http://localhost/itop</itop_url>
  <itop_login>administrator</itop_login>
  <itop_password>password</itop_password>
  <vsphere_uri>vcenterurl.entreprise.com</vsphere_uri>
  <vsphere_login>vcenter_login</vsphere_login>
  <vsphere_password>vcenter_password</vsphere_password>
  <contact_to_notify>someone@entreprise.com</contact_to_notify>
  <synchro_user>sync</synchro_user>
  <default_org_id>Organization</default_org_id>

</parameters>

Lorsque j'exécute les deux scripts de débogage, tout fonctionne (iTop et vSphere répondent correctement). C'est au moment de la synchronisation que cela plante :

root@machine:/combodo-data-collector-for-vsphere# php exec.php 
[2022-11-24 15:06:17]   [Info]  Detecting if TeemIp is installed on remote iTop server
[2022-11-24 15:06:17]   [Info]  Yes, TeemIp is installed
[2022-11-24 15:06:17]   [Info]  IPs will be collected
[2022-11-24 15:06:17]   [Info]  Logical interfaces will be collected
PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /combodo-data-collector-for-vsphere/collectors/ConfigurableCollector.class.inc.php:36
Stack trace:
#0 /combodo-data-collector-for-vsphere/core/collector.class.inc.php(65): ConfigurableCollector->GetSynchroDataSourceDefinition()
#1 /combodo-data-collector-for-vsphere/core/orchestrator.class.inc.php(119): Collector->__construct()
#2 /combodo-data-collector-for-vsphere/exec.php(121): Orchestrator->ListCollectors()
#3 {main}
  thrown in /combodo-data-collector-for-vsphere/collectors/ConfigurableCollector.class.inc.php on line 36

Merci beaucoup pour votre aide !


Hello everyone.

I have an issue with the sync between iTop and vSphere. Indeed, I correctly configured the conf file (first code above). When I debug this with collectors/check_soap.php and toolkit/testconnection.php it works, but when I try to use the exec.php script, nothing happens (result above).

Thanks for helping me !