Cloudinventory
Cloud Inventory

Requirements (on-premise)
10.0.11
8.1
8.3
11.0.0
8.2
8.4
Install the plugin
Go to the marketplace. Download and install the CloudInventory plugin.

To know
Currently supported providers and resource types are:
OVHcloud
Instances Public Cloud
VPS (Serveurs Privés Virtuels)
Dedicated servers (Bare Metal)
Scaleway
Instances Compute (Machines Virtuelles)
Servers Bare Metal
Instances Apple Silicon
Amazon Web Services (AWS)
Instances EC2 (Elastic Compute Cloud)
Microsoft Azure
Virtual Machines
Google Cloud Platform (GCP)
Google Compute Engine (Machines Virtuelles)
Alibaba Cloud
Elastic Compute Service (ECS)
Providers credentials
Each provider can be configured individually via the plugin interface. Configuration typically includes:
API access credentials (keys, secrets)
Region, project, or subscription settings
OVH
Create credentials
To obtain credential, click the following link:
For Europe https://eu.api.ovh.com/createToken/
For North America https://ca.api.ovh.com/createToken/
For the United States https://api.us.ovhcloud.com/createToken/
Sign in with your account

To access the Create API Keys
form

Fill in the following information :
An
Application name
(mandatory)An
Application description
(optionnal)A
validity
period.The
Rights
to restrict the use of the application to certain APIsGLPI only needs the
GET
right on*
(to authorise all OVHcloud APIs)
After submitting,
OVH
will give you :Application Key
Application Secret
Consumer Key
Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Amazon
Create credentials
Check the documentation on identifier management : AWS identifier documentation
Or simply follow these instructions:
Go on the IAM page and sign in with your account : IAM
Go on User tab : User tab
Check this page : Security credential page
After validating the form, Amazon
will give you the following information :
Application Key
Application Secret
Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Scaleway
Create credentials
Check the documentation on identifier management : How to create API Key
Or simply follow these instructions:
Go to Scaleway console and sign in with your account : https://console.scaleway.com/login
Click Identity and Access Management (IAM) from the top-right of your Organization Dashboard
Click on the API Keys tab.
Click on Generate an API key.
Choose the owner of the API key (IAM user or IAM application).
Enter a description (optional) and an expiry date for the API key.
Select whether the API key will be used for Object Storage → choose No
After validating the form, Scaleway
will give you the following information
Access Key
Secret key
Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Google
Create credentials
Check the documentation on identifier management : How to manage your key
Or simply follow these instructions:
Go to the Service Accounts page in Google Cloud Console
Select the Project on which your Virtual machine was created
Create a new Service Account

Fill in the required information, then click on
Done

Select your account on the list

Choose JSON type

Now your key file has been downloaded to your computer
Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Alibaba
Create credentials
Check the documentation on identifier management : Alibaba Cloud keys documentation
Or simply follow these instructions:
Log on to the RAM console and sign in with your Alibaba Cloud account.
Move the pointer over the profile picture in the upper-right corner of the page that appears and click AccessKey Management.
In the Note message, read the security tips and click Use Current AccessKey Pair.

On the AccessKey Pair page, click Create AccessKey.
In the Create AccessKey message, view the AccessKey ID and AccessKey secret.
You can click Download CSV File to download the **AccessKey* pair or click Copy to copy the AccessKey pair.*
Finally select I have saved the AccessKey Secret.
Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Entra
Create credentials
How to get your Tenant ID
and Client ID
Go to your Tenant and register a new application

Go to Overview to get
Tenant ID
andClient ID

Go to
Certificates and secrets
Add
New client secret
Define
expires
Then saved

The Secret
value will be displayed (4)
Client secret value cannot be viewed, except for immediately after creation. Be sure to save the secret when created before leaving the page
Go to
Subscription
>Access Control (IAM)
>Add Role Assignment

Search for
Microsoft.ClassicCompute
Select
Reader
Then
next

Select
cloudinventory
(application) previously createdThen click on
Review + assign

Setup GLPI
Go to Adminsitration
> Cloud inventory
> +Add

Right
The plugin offers complete rights management.
Go to Administration
> Profiles
> Cloud Inventory
Provider
Read
Update
Delete
Purge
Run discovery
CloudInstance
Update
Sync
Get date from API
Purge
Dashboard
See dashbaord

Discovery
Now that our provider has been created into GLPI, we can start working on the cloud inventory.
For each provider you can manually trigger synchronisation here :

You will be able to visualize the progress of the discovery.

Or simply configure related automatic actions (you can filter by provider name (e.g. OVH)) (see see CronTask)

Cloud Instance
Each cloud asset found is registered in the plugin in a CloudInstance
object
You can find the list of
CloudInstance
here

Or from the provider (and dedicated tab)

Click on
CloudInstance
link to get more information :

Synchronised Cloud Instances
are automatically assigned to the same entity
as the Provider
from which they originate.
GLPI Computer
Related GLPI Computer found
Reconciliation type for this CloudInstance (name or MAC)
Provider
provider name (link to GLPI provider form)
Button to synchronize this instance now
Cloud Instance
Instance name
Instance display name
Instance ID
Project ID
Projcet name
Model
State
Location
Datacenter
Backups
Has backup ?
Backup state
List of backups
Scheduled
A final section, API data
, gives you direct access to the API
information for related Cloud Instance
.

Crontask
For each provider and each instance type, a dedicated automatic task enables regular synchronisation between the data from the APIs and the data from GLPI.

Search
The plugin adds new criteria to computer search engine.
From the list of computers it is possible to filter the result on data from related CloudInstance
(if CloudInstance
is linked to it).

Dashboard
The CloudInventory
plugin offers a dashboard to display a summary of CloudInstance

Rules asset
The plugin adds new criteria to the Business Rules for asset

Each time a computer is updated (manually or dynamically), if it is linked to a CloudInstance
, the engine will receive the following data (when available)
CloudInventory - Instance ID
CloudInventory - Instance Display name
CloudInventory - Instance Name
CloudInventory - Project Name
CloudInventory - Has backup
CloudInventory - State
CloudInventory - Location
CloudInventory - Datacenter
CloudInventory - Instance type
Log
If debug mode is enabled for a dedicated provider

A new log file will be automatically created and will contain various information following execution of the synchronisation
Ex : for Ovh
provider and VPS
synchronisation a file named ovh-{{instance-type}}-{{provider_name}}-error.log
will be created in the glpi/files/_log/
folder and will contain the errors encountered during its execution
FAQ
If you have any questions about using the plugin, please consult our FAQ
Last updated
Was this helpful?