Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Monitor from desktop import #889

Open
cr1stt0f3r opened this issue Feb 1, 2021 · 8 comments
Open

Import Monitor from desktop import #889

cr1stt0f3r opened this issue Feb 1, 2021 · 8 comments

Comments

@cr1stt0f3r
Copy link

Hi.

I am carrying out the inventory of my technology park.
But I have noticed that the agent is not capturing all of the computer monitors.
I have a computer that makes use of two monitors that I was also unable to identify.
Is there anything I can do besides forcing a sync?
Could this be an agent nonconformity?

Thank you!

@g-bougard
Copy link
Contributor

Hi @cr1stt0f3r

firstly, you should give us some more details: which computer operating system and eventually version ? which agent version ?

And before telling it's an agent issue, you must anyway check the XML inventory the agent generates and look for <MONITORS/> XML nodes. You should have access to the XML inventory from GLPI server import information section of the related conputer or you can generate a fresh inventory from the command line with fusioninventory-inventory command.

@cr1stt0f3r
Copy link
Author

cr1stt0f3r commented Feb 2, 2021

Windows 7 Pro x64 sp1 comp 7601.
Agent 2.6 x64

i made a new inventory.
but this lg tv item is not listed anywhere ..
<MONITORS> <BASE64>AP///////wAebQEAAQEBAQEXAQOAoFp4Cu6Ro1RMmSYPUFShCAAxQEVAYUABAQEBAQEBAQEBZBkAQEEAJjAYiDYAsIRDAAAYoA8gADFYHCAogBQAsIRDAAAeAAAA/QA6Ph5TEAAKICAgICAgAAAA/ABMRyBUVgogICAgICAgAT4=</BASE64> <CAPTION>LG TV</CAPTION> <DESCRIPTION>1/2013</DESCRIPTION> <MANUFACTURER>Goldstar Company Ltd</MANUFACTURER> <PORT>HDMI</PORT> <SERIAL>01010101</SERIAL> </MONITORS>

<MONITORS> <BASE64>AP///////wAF4yKniRIOAAYRAQNoIht4KjatollMlyQXUFa/7wCBgAEBAQEBAQEBAQEBAQEBvDQAmFEAKkAQkBMAVA4RAAAeAAAA/wBUN0NQNzJBOTIyMjQ5AAAA/QA3Sx5TDgAKICAgICAgAAAA/ABMTTcyMgogICAgICAgAH8=</BASE64> <CAPTION>LM722</CAPTION> <DESCRIPTION>6/2007</DESCRIPTION> <MANUFACTURER>AOC International (USA) Ltd.</MANUFACTURER> <NAME>Monitor Genérico PnP</NAME> <PORT>VGA</PORT> <SERIAL>T7CP72A922249</SERIAL> <TYPE>Monitor Genérico PnP</TYPE> </MONITORS>

@g-bougard
Copy link
Contributor

Hi @cr1stt0f3r
can you open an administrator console and report the following command outputs ?

wmic /namespace:\\root\wmi path WMIMonitorConnectionParams get /format:list

and

wmic path Win32_DesktopMonitor get /format:list

These 2 commands use the same WMI calls the agent does to inventory monitors on win32.

@cr1stt0f3r
Copy link
Author

cr1stt0f3r commented Feb 2, 2021

Active=TRUE
InstanceName=DISPLAY\AOCA722\5&amp;34fa020a&amp;0&amp;UID1048833_0
VideoOutputTechnology=0


Active=TRUE
InstanceName=DISPLAY\GSM0001\5&amp;34fa020a&amp;0&amp;UID1048849_0
VideoOutputTechnology=5
Availability=3
Bandwidth=
Caption=Monitor Genérico PnP
ConfigManagerErrorCode=0
ConfigManagerUserConfig=FALSE
CreationClassName=Win32_DesktopMonitor
Description=Monitor Genérico PnP
DeviceID=DesktopMonitor1
DisplayType=
ErrorCleared=
ErrorDescription=
InstallDate=
IsLocked=
LastErrorCode=
MonitorManufacturer=(Tipos de monitor padrão)
MonitorType=Monitor Genérico PnP
Name=Monitor Genérico PnP
PixelsPerXLogicalInch=96
PixelsPerYLogicalInch=96
PNPDeviceID=DISPLAY\AOCA722\5&amp;34FA020A&amp;0&amp;UID1048833
PowerManagementCapabilities=
PowerManagementSupported=
ScreenHeight=768
ScreenWidth=1024
Status=OK
StatusInfo=
SystemCreationClassName=Win32_ComputerSystem
SystemName=BACKUP_FORD

@g-bougard
Copy link
Contributor

I suspect your lg tv does not report an edid block so we can't analyse it. I think the problem was still reported in the past.
Anyway, can you report the output of:

reg query HKLM\SYSTEM\CurrentControlSet\Enum\DISPLAY\GSM0001

In principle we find the edid block content from registry there for your monitor.

@cr1stt0f3r
Copy link
Author

I ran the command and ran the agent again, but did not add the monitor in question..

@g-bougard
Copy link
Contributor

I didn't tell you this will fix anything, this is just to debug and I requested you to report the output. But to be honest, I think we can't support your case if the agent don't detect the monitor. This probably means your monitor if poorly integrated with your actual setup, maybe because your system is old and drivers don't support your LG TV EDID block.
Indeed the output should just show the agent can't detect correctly the monitor.

@cr1stt0f3r
Copy link
Author

entendi, obrigado!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants