-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug reporting acknowledgment
Yes, I read it
Professional support
Yes, I know
Describe the bug
When installing GLPI and setting parameters for itemtype
, the installation process erases the /
Command used perl glpi-agent-1.15-linux-installer.pl --install --server=https://server.com.br --itemtype=Glpi\CustomAsset\Nodes --service --verbose --debug=2
Result in 00-install.cfg
debug=2
server=https://server.com.br
itemtype=GlpiCustomAssetNodes
In order to GLPI 11 understand the Item Type, I need to edit the 00-installl.cfg
manually
To reproduce
- Install the agent using commands with parameters
perl glpi-agent-1.15-linux-installer.pl --install --server=https://server.com.br --itemtype=Glpi\CustomAsset\Nodes --service --verbose --debug=2
- Try to run GLPI Agent Inventory to GLPI 11
},
"deviceid": "ARSSRV02-2025-08-26-15-41-07",
"itemtype": "GlpiCustomAssetNodes"
}
...
[debug2] format: Zlib
[error] [http client] communication error: 400 Bad Request, JSON does not validate. Violations:
"GlpiCustomAssetNodes" does not match to ^(Unmanaged|Computer|Phone|NetworkEquipment|Printer|Glpi\\CustomAsset\\ServersAsset|Glpi\\CustomAsset\\NodesAsset|Glpi\\CustomAsset\\AirConditioningAsset)$ at #->proper
Expected behavior
GLPI Agent parameters on installation should get the \ characters in order to itemtype
be correctly gathered by GLPI 11.
Operating system
Linux
GLPI Agent version
v1.15
GLPI version
Other (Details in additional context below)
GLPIInventory plugin or other plugin version
Other (Details in additional context below)
Additional context
11-RC2 - Native GLPI Inventory. No Plugin.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working