Closed vazome closed 4 weeks ago
In the end, what you want is a local (on the host) configuration file that says "Please replace the obtained hostname with X in the XML inventory you are about to send to GLPI plugin"?
Some kind of inventory_overwrite.xml
file.
Solution 1: post-process the agent result before sending it to the GLPI server Solution 2: change the name in GLPI, and lock it
Skimmed trough config file and couldn't find any piece that will replace hostname with a specified value. So host to appear in GLPI under a new name. Like in Zabbix. This is very useful in edge-cases where hostname is identical between two hosts and there is no way to change either of those.