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

Advanced dashboards

Requirements (self-hosted)

GLPI Version
Minimum PHP
Recommended

10.0.x

8.1

8.2

11.0.x

8.2

8.4

A GLPI Network STANDARD subscription (or higher) is required. This plugin is also available for all GLPI Network Cloud instances.


Install the plugin

  • Go to the marketplace. Download and install the "Advanced dashboard" plugin.

images/Advanceddashboard-1.png

Setup the plugin

Create an SQL query

The below example gives us the number of tickets on the root entity over the last 2 years:

  • From Tools > Advanced dashboard (or SQL for dashboards on GLPI 10), click on add

  • Name your query (the one that will be visible from the dashboards) and identify it as active.

  • In the SQL Editor tab, paste the above query, taking care to change the name of the entity if you have changed it.

  • Click on the floppy icon to save the query and then on play icon to run the query.

images/Advanceddashboard-2.png

An insert at the bottom will display the result of the query:

images/Advanceddashboard-3.png
  • In the set up fields tab, define the label, the number and the main label (optional, this is the name your table will have). In our case, the label will be "year", the number will be "number of tickets" and the main label will be ""number of tickets per year".

  • Select the type of graph (this is for information purposes only, so that you can preview your table; you will be asked to select the type of graph you want to appear in the tile later),

  • You can limit the amount of data to be displayed.

  • Then click on Save fields and preview.

images/Advanceddashboard-4.png

Dashboard settings

  • From Assistance > Dashboard, select the dashboard that is to receive the new tile

  • Click on edit icon

  • Add a new tile with plus icon

  • Select the query you have just created

  • Choose a colour for your tile

images/Advanceddashboard-5.png
  • You will then be asked to select the chart type

  • Some dashboards may ask you to use colours and display values and labels.

images/Advanceddashboard-6.png
  • Your tile is now ready

images/Advanceddashboard-7.png

Adding a New Database

You can add another GLPI database to query.

  • Click Tools > Advanced Dashboard (or SQL for Advanced Dashboard).

  • In the top menu, click Database, then + Add.

  • Enter your database information and click + Add.

Add a new database

From Tools > Advanced Dashboard (or SQL for Advanced Dashboard), you can select the database to query.

Select the new database

Saved Searches

With Advanced Dashboard, you can display the results of your saved searches from a dashboard. This can be done with both asset inventory and ticket items.

Only public saved searches can be integrated into a dashboard.

We will use tickets with a New status as an example.

The first step is to perform a search and save it.

  • From Assistance > Tickets, perform your search using the desired criteria.

Perform a saved search
  • Click the save icon

  • In the new window that appears, adjust the settings:

    • Name

    • Count: Auto / Yes / No

    • Visibility: Your search must be public.

    • Entity: Select the desired entity.

    • Child-entities: Allow or deny access to sub-entities.

Make research public

You will then be redirected to your new saved search. You can adjust certain settings as needed.

You can also add alerts. See the dedicated article for more information.

circle-bookmarkSaved Searches

Integration into the dashboard.

  • From your dashboard, click the edit icon

  • Click an empty tile to add your search

Add a new card
  • In the dropdown list, select Public saved searches and then the desired search.

Select the saved search

Several display modes are available. You can choose a number to display, and clicking on that number will redirect you to the search results.

Add the result as a number

You can also display the results directly in the dashboard. You will need to adjust the maximum number of results to avoid overloading your dashboard.

Add the search results
Display in number and result

FAQ

If you have any questions about using the plugin, please consult our FAQ

Go to FAQ

Last updated