Skip to content

Android smatphones inventory#

In this article we will see how to inventory an Android mobile quick and easy with GLPI Agent and the Agent config plugin.

This requires GLPI inventory plugin installed and activated (in the Configuration> Plugins menu).

Plugin Agent Config#

In GLPI, in your list of Plugins, you will find Agent config.

This plugin allows you to facilitate the inventory of mobiles by configuring in advance the values ​​to enter to configure the agent.

This plugin will allow you to be scanned via QRcode or a DeepLink to quickly integrate your mobile into your inventory.

Once the plugin installed and activated, go to the configuration.

In the Configuration tab of the GLPI Agent, we must configure at least:

  • The URL of server, example: mon.glpi.fr/GLPI inventory/
  • Identifier
  • Password

Alt text

Once this data has been entered and saved, the QRCode or Deeplink functionalities will allow you to inventory your smartphones.

Configuring the Agent with an EMM / MDM Tool#

The GLPI agent can be deployed/configured from an MDM / EMM tool

  • Samsung Knox
  • AirWatch
  • InTunes
  • MobileIron
  • etc.

Note

As long as the MDM / EMM tool is compatible with managed configurations, you can configure the GLPI Agent (at deployment or on the fly).

Here is the list of configurable settings:

  • auto_start_on_boot => Run an inventory at startup (Bool true / false)
  • automatic_inventory => Enable automatic inventory (Bool true / false)
  • frequency => Frequency of automatic inventory (String Day / Week / Month default Day)
  • server_configuration_list => (Bundle)
    • server_url => GLPI server URL (String)
    • server_tag => TAG (String)
    • server_login => Username for basic authentication (String)
    • server_password => Password for basic authentication (String)
    • server_itemtype => Asset type in GLPI (String Computer / Phone default Computer)
    • server_custom_asset_serial => Custom serial number to replace the one generated by the agent (String)

Good to Know

  • server_configuration_list allows you to configure multiple GLPI servers.
  • If you want to update a GLPI server, the server_url configuration serves as a reconciliation key.
  • As soon as a configuration is applied or if an error occurs, the GLPI Agent will inform the MDM tool.

GLPI agent for Android#

The GLPI agent is an application available on Google Play. Once downloaded and installed on your smartphone, we will be able to configure the agent to start inventory of the equipment.

  • In the application, go to the settings by clicking on the Alt text. Open the server list.
  • In order to configure new server, click on the button Alt text.

You will be redirected to the server configuration page asking you to enter all the authentication data.

Thanks to the Agent config plugin configured previously, we do not need to enter information because the features of QRcode and DeepLink allow you to fill in the fields automatically.

QRcode#

  • For the QRcode, find the Alt text. By clicking on it, you will arrive on the scan interface.
  • Scan the QRcode available on your GLPI web interface on the home page.
  • Save the configuration entered automatically to validate the server.
  • Go to your GLPI via web browser on your smartphone.
  • In the GLPI Agent tab of your GLPI home page, click the Configuration link for GLPI Agent.

Alt text

  • Your smartphone will ask you with which application you want to open this link, choose the GLPI Agent application.

Alt text

  • You just have to save the configuration to add the server.

Alt text

References#

Documentation Agent Config Plugin