ocs-agent icon indicating copy to clipboard operation
ocs-agent copied to clipboard

Request - Enhancement - use flag to bypass AssetTag <> Inventory Number import

Open inext68 opened this issue 8 months ago • 8 comments

Thanks for you job. Using the agent with 10Zig thinclient we have these data for BIOS (see below). The problem is that importing data in GLPI the <ASSETTAG> value overwrite the value in the field "Inventory number". This appen first time we launch the agent. If we change manually the value imported from agent in GLPI the import will be locked by "lock system" of GLPI.

Having hundreds o thinclient we have to change the info manually for everyone after first import.

Is possibile modifiy the code to set a flag to enable or disable the import for <ASSETTAG> field? Below an example of the inventory generated from agent. Thank you

############
<BIOS>
           <ASSETTAG>Chassis Asset Tag</ASSETTAG>
            <BDATE>09/23/2019</BDATE>
            <BMANUFACTURER>INSYDE Corp.</BMANUFACTURER>
            <BVERSION>V:3.4.21-08082019</BVERSION>
            <MMANUFACTURER>Type2 - Board Manufacturer</MMANUFACTURER>
            <MSN>Type2 - Board Serial Number</MSN>
            <SMANUFACTURER>10ZiG Technology</SMANUFACTURER>
           <SMODEL>4500</SMODEL>
           <SSN>xxxxxxxxxxxx</SSN>
           <TYPE>Notebook</TYPE>    
</BIOS> 

inext68 avatar Jun 20 '24 10:06 inext68