[Fusioninventory-devel] Rest-*

Gonéri Le Bouder goneri at rulezlan.org
Mon Mar 25 15:24:54 UTC 2013


On Mon, Mar 25, 2013 at 03:26:49PM +0100, Mario Gzuk wrote:
> Hopefully the last question about that task. If I run the fusioninventory-esx
> directly I got an correct deviceid for each host:
>   <DEVICEID>esx1-2013-02-11-14-23-51</DEVICEID>
>   <DEVICEID>esx2-2013-02-11-14-25-32</DEVICEID>
> If I run this through the agent/rest-esx the inventory xml data contains the
> deviceid from the host I am running the task (for every esx host the same):
>   <DEVICEID>a-test-2013-03-21-16-54-58</DEVICEID>
Hi Mario,

Actually, none of them are correct. The deviceid is a string stored on the
computer. It is used to identify the agent. This string is:

- the hostname
- the installation date.

We can store the string on a ESX server. In order to reduce compatibility
issue we decide to generate a “fake” string every time.

This deviceid will also be lost for a common computer is the agent is
removed (and the “var” dir lost).

Best regards,
--
     Gonéri Le Bouder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20130325/c21ca0c8/attachment-0001.pgp>


More information about the Fusioninventory-devel mailing list