Some Links:
Ask question |
Website |
OCS Professional
This plugin is made to retrieve all VCenter informations using the new REST api from VMWare VCenter. Link : https://code.vmware.com/apis/62/vcenter-management
NOTE : This plugin is missing some VCenter VM inventoried data (WIP)
The following configuration need to be installed on your VCenter :
The following OCS configuration need to be installed :
The following dependencies need to be installed on agent :
This following routes are used by the API :
To configure a new server to scan you need to edit the Vmware.pm file.
Line 18 :
my @auth_hashes = (
{
URL => "MY_FIRST_VMWARE_SERVER",
AUTH_DIG => "My Auth digest (user:pass encoded in base 64)",
},
{
URL => "MY_SECOND_VMWARE_SERVER",
AUTH_DIG => "My Auth digest (user:pass encoded in base 64)",
},
);
You need to change the URL to your VMWare server url / ip and set the AUTH_DIG to user + pass encoded in base 64
If you have more than one server you need to add the following line below the last URL + AUTH_DIG values :
{
URL => "MY_THIRD_VMWARE_SERVER",
AUTH_DIG => "My Auth digest (user:pass encoded in base 64)",
},
Note : there is no limit on server number