Incorrect number of core and thread in windows
On windows with fi agent 2.3.8 we don't see core in glpi
it seems xml has no memory section
#2 Updated by Guillaume Rousse over 2 years ago
- Status changed from New to Feedback
- Assignee set to Guillaume Rousse
2.3.8 is obsolete, please test with current version (2.3.15). If the problem persist, please provide dmidecode output, as well as registry content for HKEY_LOCAL_MACHINE/Hardware/Description/System/CentralProcessor key.
#6 Updated by Guillaume Bougard over 2 years ago
Hi, about wmi1.txt, in fact as that was the first time you ran that command there was an output "Patientez pendant l'installation de WMIC" included in front of the file and that broke the UTF-16 format of the output. I checked it knowing that and the only difference with wmi2.txt is really a different value reported for "LoadPercentage", so nothing important for this issue.
#7 Updated by Guillaume Bougard over 2 years ago
I managed to make tests on a fresh 2003R2 windows server. I was able to reproduce the case.
This is a known issue as explained in microsoft knowledge base at https://support.microsoft.com/en-us/kb/932370
From there I applied the related hotfix downloaded after requesting it on https://support.microsoft.com/hotfix/kbhotfix?kbnum=932370&kbln=en-us
The hotfix permits to figure out the number of cores per CPU. But number of threads is not reported in the inventory. I had to fix a little fusioninventory-agent code to also get the number of threads in GLPI.
I'll submit a little later the related patch and a PR. For now I just attach dmidecode and wmi output I obtain so I can include them as new unittest.
#9 Updated by Guillaume Bougard over 2 years ago
Just created the pull request PR#31: https://github.com/fusioninventory/fusioninventory-agent/pull/31 to include the fix.
Hi Nico LAS,
do you think you can test applying the Hotfix a server and than applying manually the patch available at https://github.com/g-bougard/fusioninventory-agent/commit/e382c6cbc1bbd643b23c30549c01d852395eb4ba
There are 2 lines to modify and one to add.