[Fusioninventory-devel] Rest-*

Mario Gzuk mariogzuk at technikz.de
Wed Mar 27 14:16:49 UTC 2013


> Oh I didn't know that. What version of the agent do you use? Here a ESX
> called srv00003 has srv00003.teclib.infra-2013-02-06-11-35-57 deviceid.
> So it looks good to me.
>
>

The agent ist 2.2.7-3. When I say to the agent, please run task esx (via 
rest-esx) for esx1 and esx2 I got the following:

ESX1
<REQUEST>
...
       <NAME>esx1</NAME>
       <OSCOMMENTS>VMware ESXi 4.1.0 build-874690</OSCOMMENTS>
       <OSNAME>VMware ESXi</OSNAME>
       <OSVERSION>4.1.0</OSVERSION>
       <UUID>00000000-0000-0000-0000-0015178f52cc</UUID>
...
     </VIRTUALMACHINES>
   </CONTENT>
   <DEVICEID>a-test-2013-03-21-16-54-58</DEVICEID>
   <QUERY>INVENTORY</QUERY>
</REQUEST>

ESX2
<REQUEST>
.....
       <NAME>esx2</NAME>
       <OSCOMMENTS>VMware ESXi 4.1.0 build-874690</OSCOMMENTS>
       <OSNAME>VMware ESXi</OSNAME>
       <OSVERSION>4.1.0</OSVERSION>
       <UUID>00000000-0000-0000-0000-0015178f531c</UUID>
  ...
  </CONTENT>
   <DEVICEID>a-test-2013-03-21-16-54-58</DEVICEID>
   <QUERY>INVENTORY</QUERY>
</REQUEST>


The host itself:
<REQUEST>
.....
     <HARDWARE>
       <ARCHNAME>MSWin32-x86-multi-thread</ARCHNAME>
       <CHASSIS_TYPE>Other</CHASSIS_TYPE>
       <CHECKSUM>4609</CHECKSUM>
       <NAME>a-test</NAME>
       <UUID>55F12025-A094-E54C-B47E-C8322AACCBA3</UUID>
     </HARDWARE>
.....
   </CONTENT>
   <DEVICEID>a-test-2013-03-21-16-54-58</DEVICEID>
   <QUERY>INVENTORY</QUERY>
</REQUEST>


When I run the fusioninventory-esx directly on the same host I got:
<REQUEST>
.....
     <HARDWARE>
       <NAME>esx1</NAME>
       <OSCOMMENTS>VMware ESXi 4.1.0 build-874690</OSCOMMENTS>
       <OSNAME>VMware ESXi</OSNAME>
       <OSVERSION>4.1.0</OSVERSION>
       <UUID>00000000-0000-0000-0000-0015178f52cc</UUID>
     </HARDWARE>
   </CONTENT>
   .....
<DEVICEID>sbk-fa-esx1.spibund.local-2013-02-11-13-07-38</DEVICEID>
   <QUERY>INVENTORY</QUERY>
</REQUEST>


So thats why I am confused about that...

Thanks again ;)



More information about the Fusioninventory-devel mailing list