fusioninventory-esx - vCenter/ESX/ESXi remote inventory from command line
fusioninventory-esx --host <host> --user <user> --password <password> --directory <directory>
Options: --help this menu --host hostname ESX server hostname --user username user name --password xxxx user password --directory directory output directory --tag tag tag for the inventoried machine
% fusioninventory-esx --host myesx --user foo --password bar --directory /tmp
You can import the .ocs file in your inventory server with the fusioninventory-injector tool. %fusioninventory-injector -v --file /tmp/*.ocs -u https://myserver/ocsinventory
fusioninventory-esx creates inventory of remote ESX/ESXi and vCenter VMware. It uses the SOAP interface of the remote server.
Supported systems:
Active Directory users, please note the AD authentication doesn't work. You must create a account on the VMware server.
So far, ESX serial number are not collected.
The SSL hostname check of the server is disabled.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.