Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dictionaries

Dictionary's allow to modify data already existing in GLPI or new data in order to group redundant data.

View of the various dictionaries

Dictionaries are based on GLPI rules engine and are available for some types of items (software, suppliers, drop-downs). The rules associated with a dictionary will modify values that are either manually inserted or automatically inserted via an inventory tool or via plugins (for instance CSV file injector).


Import, export and duplication

Export, import and duplication are available for dictionarys or rules. These operations can be realized globally from dictionary's main page or by batch using mass actions from dictionary's search results. These functionalities are useful for instance when migrating rules from a pre-production environment to a production one.

export or import use a XML file format


Configure data dictionaries

A dictionary works the following way:

  1. data to be added enters the dictionary;

  2. rules engine plays all rules applying to this type of data and stops on first matching rule;

  3. modified data is returned by the dictionary and inserted into database.

The Replay the dictionary rules button (under the list of rules of the dictionary) allows to replay the rules on data already existing in database.


Global dictionaries

Software

The software dictionary modifies software data (name, version, manufacturer) in order to complete or merge software's. It is used to make more coherent equivalent software for which name is not identical (for example PowerShell 7.3.4.0 and PowerShell x64 7.3.13.0) or to add a manufacturer if it is not present.

This dictionary allows also to redirect the creation of a software or of a set of software in a given entity, by choosing action Entity and to select the entity in which to create the software. This functionality can also be used with general option Entity for software available in entity configuration.

for an optimal management of software and licenses in a multi-entity environment, it is possible to use the software dictionary simultaneously with software visible in sub-entities and thus to use grouping functionality.

The following example shows the PowerShell software version progression:

The following image describes the criteria for grouping PowerShell versions. The criteria are combined using the logical AND operator.

images/criteriaMozilla.png
Criteria for grouping PowserShell versions

The following image describes the actions associated with grouping PowerShell versions.

images/actionMozilla.png
Criteria for grouping PowerShell versions

The following image shows the result of grouping the PowerShell versions

images/resultMozilla.png
Result of grouping PowerShell versions

Manufacturer

This dictionary allows to group under a unique name the manufacturer names coming from an inventory tool under different forms.

Exemple for manufacturer grouping, unclear!

regrouper les fabricants . Sun_Microsystems . Sun Microsystems, Inc. for the OpenOffice.org-Community . Sun Microsystems, Inc. . Sun Microsystems, Inc sous le nom Sun Microsystems.

Printers

This dictionary allows to modify printer information based on manufacturer and/or name. It is possible to reject an import (for example printer name starting with //), to group printers under same name, to assign a manufacturer or to force management type (global or unitary).

This dictionary allows to modify drop-downs related to inventory: types and models of items, operating system, version and service pack.

Models

Possible criteria are manufacturer and item model.

Example: transforming technical number into commercial model name

Often inventory tools extract model technical number, which is irrelevant for user. This example allows to extract commercial model name while keeping technical number which can be required in case of requesting a provider intervention.

The obtained result will be for instance: Dell PowerEdge R260 E86S (E86S001)

Types

Only possible criteria is item type.

Example: harmonizing peripheral names

Example of dictionary on peripheral type: rule

Operating systems

Depending on chosen dictionary, the criteria will be based on operating system itself, on operating system service pack or on operating system version.

Last updated