Page 1 of 1
GLPI plugin data retrieval
Published: May 17, 2024 - 09:16
by Benoit
Wapt Enterprise: 2.5.4.15342
Server: Debian
Hello,
I would like to know how the data transfer from the fleet is handled by the "glpi-plugin-export-to-glpi10" plugin.
Does it perform a complete data transfer, overwriting the existing data in GLPI?
Or
does it perform a differential data transfer, only modifying the entries that have been changed?
Sincerely,
Re: GLPI plugin data retrieval
Published: May 17, 2024 - 10:31
by dcardon
Hello Benoit,
The tis-audit-glpi-inventory package performs an inventory using the GLPI agent via the command line in standalone mode (i.e., without the GLPI service) and uses the WAPT agent to schedule and upload the inventory to the WAPT server. The drawback of generating the inventory directly through GLPI is that it is quite slow (several tens of seconds).
The tis-glpi-plugin-export-to-glpi10 package retrieves inventory data from the WAPT server and sends it back to the GLPI server:
- In the standard case, it uses WAPT inventory data; therefore, it is preferable to have enabled DMI and WMI data retrieval in the agent.
- If the tis-audit-glpi-inventory package is installed on the machine, it returns the inventory that was generated by the GLPI agent via the command line.
The third option is to deploy the GLPI agent with the GLPI service (tis-glpi-agent package), which sends data directly to the GLPI server. This is the standard GLPI behavior. That said, the advantage of using the WAPT server is the secure channel provided by the WAPT agent for data transmission.
So if you want standard GLPI behavior: use only the tis-glpi-agent package
If you are okay with WAPT's default GLPI output, use only the tis-glpi-plugin-export-to-glpi10 package.
If you want to have the same inventory content as GLPI but use the secure WAPT channel for uploading, use the tis-audit-glpi-inventory package on all your workstations, and the tis-glpi-plugin-export-to-glpi10 package on one workstation/server to upload.
Hopefully this answers your questions
Sincerely,
Denis
Re: GLPI plugin data retrieval
Published: May 17, 2024 - 4:06 PM
by Benoit
Hello dcardon,
Thank you for your reply, but it doesn't answer my question.
Currently, I use glpi-plugin-export-to-glpi10 on my server and audit-glpi-inventory on the other PCs.
However, before using wapt, we used the Fusion Inventory plugin for our data feeds into GLPI.
For example:
PC A had Firefox v120 installed.
I formatted the PC and reinstalled it, installing wapt and replacing the standard Firefox with the ESR version.
According to wapt, PC A never had Firefox version 120, but always the ESR version.
In this case, Firefox v120 was never present in wapt's software inventory.
When I upload to GLPI, will Firefox v120 be removed from GLPI because it's not present in the software inventory, or will only the ESR version be added?
I hope my question is clearer.