[RESOLVED] gpmh-glpi-plugin-export-to-glpi10 package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
jtheuxb
Messages: 7
Registration: March 6, 2023 - 4:21 PM

August 30, 2024 - 4:34 PM

Hello, 🙂

we implemented the GLPI inventory plugin a few months ago and noticed that some workstations weren't reporting the operating system name.

After consulting the forum and seeing that the issue had already been raised, we updated the package yesterday. But today, we have 90 workstations that only display "Windows" as the OS name, while over 1000 others correctly show Windows 10 or 11.

Is there something we need to change in GLPI to retrieve the correct information? But in that case, why do the majority of our workstations report the correct information? It's strange.

WAPT Enterprise Version 2.5.4.15342,
CentOS 7 Server,
Admin machine running Windows 10, as well as the 90 "erroneous" machines.
Last edited by jtheuxb on Sep 12, 2024 - 2:31 PM, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

September 2, 2024 - 11:20

Hello Jérôme,

I just took a quick look at the code.

The fullname is retrieved from the WMI Win32_OperatingSystem -> caption section.

By default, WMI inventory retrieval is no longer mandatory in WAPT. If it's not enabled, some information is missing from WMI. Here's

what you can do:

[*] Install the tis-audit-wmi on the machines to retrieve WMI information for auditing.
[*] Or install the tis-audit-glpi-inventory on the machines to retrieve an official GLPI inventory for auditing.

Then run a GLPI export.

Best regards,

Simon
jtheuxb
Messages: 7
Registration: March 6, 2023 - 4:21 PM

September 5, 2024 - 1:54 PM

Hello,

thank you for your feedback.
I'll test that in this case.

When you say "By default, WMI uploading is no longer mandatory," when did that change occur? What modification did it follow? Thank you.
jtheuxb
Messages: 7
Registration: March 6, 2023 - 4:21 PM

September 12, 2024 - 2:32 PM

It worked perfectly; I deployed the audit-wmi package to all my machines and they're reporting correctly now. :)
Thanks! I'm marking this as RESOLVED.
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

September 13, 2024 - 09:12

Hello Jérôme,

thank you for your feedback :-)

. As a reminder, there are now three different methods for uploading GLPI data:

* Installing the package with the GLPI agent, which uploads directly to GLPI (standard GLPI operation;
advantage: it ensures 100% compatibility with GLPI documentation).

* Installing the package with the offline GLPI agent, which uploads data in GLPI JSON format for auditing to the WAPT server, which then sends the data back to GLPI (
advantage: it provides the official GLPI inventory while benefiting from the secure transport of WAPT WebSocket connections).

* Installing/activating audit-wmi, which completes the WAPT inventory, and the WAPT inventory is converted to GLPI JSON and sent back to the GLPI server (
advantage: no need for additional services running on the workstations).

This is the third configuration you currently have.

I'm closing the topic. :-) Thank you

. Best regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked