Closed coxigram closed 2 years ago
Hi @coxigram
can you describe what value you expected there ? And can you share the output of the following command for your monitor ?
glpi-inventory --partial monitor
Hi @g-bougard, Thanx for your reply. Please find below the requested output (3 monitors are currently connected) :
C:\Program Files\GLPI-Agent>glpi-inventory --partial monitor
[info] New inventory from ******-2022-05-17-18-07-56 for local0
{
"action": "inventory",
"content": {
"bios": {
"assettag": "5CG051BGR6",
"bdate": "2022-04-07",
"biosserial": "5CG051BGR6",
"bmanufacturer": "HP",
"bversion": "S73 Ver. 01.09.00",
"enclosureserial": "5CG051BGR6",
"mmodel": "8724",
"msn": "PJRZD00WBEL0EY",
"smanufacturer": "HP",
"smodel": "HP EliteBook 850 G7 Notebook PC",
"ssn": "******"
},
"hardware": {
"chassis_type": "Notebook",
"memory": 16157,
"name": "NCY-LAP-ADM-02",
"uuid": "ABB1F003-D0F4-4E80-AC30-752B93034881",
"vmsystem": "Physical",
"wincompany": "HP Inc.",
"winlang": "1036",
"winowner": "adminlocal",
"winprodid": "00330-53329-03450-AAOEM",
"winprodkey": "*****",
"workgroup": "*****"
},
"monitors": [
{
"base64": "AP///////wAmzThhjAQAAA8dAQSlNR54Og71pVVQniYQUFSla4BxAIFAgYCpQLMAlQDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/wAxMTU2MzkxNTYxMTY0AAAA/QA3TB5TEgAKICAgICAgAAAA/ABQTDI0ODNICiAgICAgAco=",
"caption": "PL2483H",
"description": "15/2019",
"manufacturer": "Iiyama North America",
"serial": "1156391561164"
},
{
"base64": "AP///////wAmzThhChQAAAodAQSlNR54Og71pVVQniYQUFSla4BxAIFAgYCpQLMAlQDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/wAxMTU2MzkxMDY1MTMwAAAA/QA3TB5TEgAKICAgICAgAAAA/ABQTDI0ODNICiAgICAgAUk=",
"caption": "PL2483H",
"description": "10/2019",
"manufacturer": "Iiyama North America",
"name": "Moniteur Plug-and-Play g├®n├®rique",
"serial": "1156391065130",
"type": "Moniteur Plug-and-Play g├®n├®rique"
},
{
"base64": "AP///////wAmzThhiwQAAA8dAQOANR54Kg71pVVQniYQUFSla4BxAIFAgYCpQLMAlQDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/wAxMTU2MzkxNTYxMTYzAAAA/QA3TB5TEgAKICAgICAgAAAA/ABQTDI0ODNICiAgICAgAQI=",
"caption": "PL2483H",
"description": "15/2019",
"manufacturer": "Iiyama North America",
"name": "Moniteur Plug-and-Play g├®n├®rique",
"serial": "1156391561163",
"type": "Moniteur Plug-and-Play g├®n├®rique"
}
],
"versionclient": "GLPI-Inventory_v1.2"
},
"deviceid": "******-2022-05-17-18-07-56",
"itemtype": "Computer"
}
@g-bougard In my case the expected matching fields would be :
Hi,
it is the same case for all devices except for Computers where the models get populated in the model field properly. rest monitor or printers or devices model field is always empty even though there are all details in inventory. i had raised this issue in fusion inventory plugin a couple of years ago.
Hi, Indeed every device is concerned in my case too I had found this which might be of any help : fusioninventory/fusioninventory-for-glpi#3305
Code of Conduct
Is there an existing issue for this?
Version
10.0.0
Bug description
We have here a fresh install of GLPI 10.0.0, using native inventory and glpi agent (version 1.2) with default import rules, For every monitors in the inventory, the fields 'type' and 'model' are left empty. Other fields such as "serial number' or 'user' are correctly filled in, and the devices are correctly linked to computers.
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response