-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Request - Enhancement - use flag to bypass AssetTag <> Inventory Number import #46
Comments
Hi, thanks for reporting! |
I had a look at what glpi agent does:
As default behaviour it uses the hostname as asset tag. |
I believe these behaviour is set in glpi-agent to retrieve the hostname that can be short or FQDN. Normally that info is filled into
The asset tag is from The value ASSETTAG is read by dmidecode and is a readonly value from bios in the section "chassis information > Asset Tag" and is used to fill the inventory number field in GLPI We use the inventory number field with an internal Barcode number that is different by hostname. If not possibile to bypass the import than is better to choose a hostname value for import. thanks |
Hi, |
Hi, Then our value are not imported by agent but manually filled in and than the fiels are not locked for change. |
Hi, If is possibile I would try to fork you code to bypass this field. |
Hi, |
HI,
yes.
Asset-Name = computer name
Asset-TAg = TAG ID for support (same as DELL TAG) or Internal inventory
number (we user our internal barcode)
I've forked your repo and only commented the lines about asset-tag to
prevent agent overwriting our data and it work as expected.
not a real solution but... :)
Il giorno mar 30 lug 2024 alle ore 09:24 Stefano Ceccherini <
***@***.***> ha scritto:
… Hi,
with "asset-name" you mean the computer name ?
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BAGZTKAIQB6FEY744FQ76X3ZO45TZAVCNFSM6AAAAABJTV3SJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGY2TKMRQG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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 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 field?
Below an example of the inventory generated from agent.
Thank you
The text was updated successfully, but these errors were encountered: