Page 1 of 1

[RESOLVED] WAPT 2.5.4 to GLPI 10.0.15 Upgrade

Published: May 14, 2024 - 3:23 PM
by kcaprev
Context:
WAPT version: 2.5.4 Enterprise
Server OS: Debian 12
Administration console OS: Win11pro
GLPI version: 10.0.15

Hello,

I set up WAPT data upload to GLPI.
I followed this tutorial: https://remiflandrois.fr/2023/06/29/wap ... aire-glpi/

Two workstations are correctly uploaded to GLPI, but all the others have an error in the audit data and are not uploaded:

glpi.upload =
{
"hash": "failed",
"lastid": 829706984,
"output": "local variable 'model' referenced before assignment",
"status": "ERROR",
"synchro_date": "2024-05-14 15:18:40.922939"
}

I can't see where the problem might be coming from.
Thanks in advance.

Re: WAPT 2.5.4 to GLPI 10.0.15 Upgrade

Published: May 15, 2024 - 07:50
by yann83
Hello,

just in case, does the job template already exist in GLPI? I think if not, it needs to be created first.

Re: WAPT 2.5.4 to GLPI 10.0.15 Upgrade

Published: May 15, 2024 - 10:22
by kcaprev
Hello,
the problem stems from the WAPT agent; WMI and DMI were not enabled, so the "model" wasn't appearing in the inventory.
I now need to figure out how to redeploy the new agent configuration to all workstations.