<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
We have try this ESX - ESXi inventory with our .3.5 ESX .<br>
After some test, i found that the libcrypt-ssleay-perl was not
install. It's because we have a http redirection to https.<br>
<br>
After that, we can now log in ;)<br>
But with a ESX 3.5, we got some bugs.<br>
<br>
'systemInfo' => {<br>
'otherIdentifyingInfo'
=> [<br>
{<br>
'identifierType' => {<br>
'summary' => 'AssetTag',<br>
'label' => 'AssetTag',<br>
'key' => 'AssetTag'<br>
},<br>
'identifierValue' => ' unknown'<br>
},<br>
{<br>
'identifierType' => {<br>
'summary' => 'ServiceTag',<br>
'label' => 'ServiceTag',<br>
'key' => 'ServiceTag'<br>
},<br>
'identifierValue' => 'XXXXXXXXXXXX'<br>
}<br>
],<br>
'model' =>
'PowerEdge M600',<br>
'uuid' =>
'XXXXXXXXXXXXXXX',<br>
'vendor' => 'Dell
Inc.'<br>
}<br>
},<br>
<br>
I have to fix<br>
<br>
$inventory->setBios({<br>
...<br>
ASSETTAG =>
$hostFullInfo->[0]{hardware}{systemInfo}{otherIdentifyingInfo}{identifierValue},<br>
});<br>
<br>
To <br>
<br>
$inventory->setBios({<br>
...<br>
ASSETTAG =>
$hostFullInfo->[0]{hardware}{systemInfo}{otherIdentifyingInfo}[1]{identifierValue},<br>
});<br>
<br>
After that i have another bug in the getVirtualMachineList();<br>
<br>
This is the answer of the SOAP ESX 3.5 :-(<br>
<br>
<soapenv:Body><br>
<soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring></faultstring><detail><InvalidPropertyFault
xmlns="urn:vim25"
xsi:type="InvalidProperty"><name>datastoreFolder</name></InvalidPropertyFault></detail></soapenv:Fault><br>
</soapenv:Body><br>
....<br>
'_msg' => 'Internal Server Error', Too bad :(<br>
<br>
I will continu the debugging ;)<br>
<br>
Best Regards,<br>
Ludovic.<br>
<br>
<br>
<br>
Le 16/02/2011 18:42, Gonéri Le Bouder a écrit :
<blockquote
cite="mid:AANLkTinzix6qWTH1=49JomW5SY5rYw4MDApv4HCDbvVT@mail.gmail.com"
type="cite">Hi,<br>
<br>
During the last days I worked on ESX and ESXi inventory. The goal
is to create a nice interface<br>
in GLPI. So far, I create a command line script to collect the
information and create a .ocs file.<br>
<br>
An import point: we don't have dependency against VMware Perl
library. This will help a lot the<br>
deployment of the tool.<br>
We plan to finish the GLPI integration in the coming weeks.<br>
<br>
I would be glad if you can give it a try on your ESX(i) servers to
ensure everything go right.<br>
<br>
# Retrieve the files from the git repository. A git snapshot of
the agent is required<br>
git clone git://<a moz-do-not-send="true"
href="http://github.com/fusinv/fusioninventory-agent.git">github.com/fusinv/fusioninventory-agent.git</a><br>
cd fusioninventory-agent.git<br>
git checkout 2.1.x<br>
cd ..<br>
git clone git://<a moz-do-not-send="true"
href="http://github.com/fusinv/fusioninventory-agent-task-esx.git">github.com/fusinv/fusioninventory-agent-task-esx.git</a><br>
<br>
cd fusioninventory-agent-task-esx<br>
perl -I../fusioninventory-agent/lib -Ilib ./fusioninventory-esx
--user root --password passord --host esx-server --directory /tmp<br>
# this will generate a .ocs file in /tmp<br>
<br>
# You can now push it in the server (ocsinventory of
GLPI+FusionInventory 4 GLPI beta1)<br>
../fusioninventory-agent/fusioninventory-injector -v --file
/tmp/esx-server-2011-01-25-14-11-07.ocs -u <a
moz-do-not-send="true" href="https://myserver/ocsinventory">https://myserver/ocsinventory</a><br>
<br>
The script had been tested against OCSinventory 1.3.x server and
GLPI0.78+FusionInventory for GLPI beta1.<br>
<br>
Best regards,<br>
-- <br>
Gonéri Le Bouder<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Fusioninventory-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Fusioninventory-devel@lists.alioth.debian.org">Fusioninventory-devel@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel">http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel</a>
</pre>
</blockquote>
</body>
</html>