Inventory not returning HW Processor data.

book

Article ID: 158203

calendar_today

Updated On:

Products

Altiris Software Development Kit (ASDK)

Issue/Introduction

The HW Processor data class is missing from the computer's Resource Manager.
The database contains no data for the Inv_HW_Processor for many of the WinXP
SP3 clients.
Customer noticed this during migration from N6 to ITMS 7.1 SP2 MP1. The NS6
clients are able to collect the HW Processor data.

The steps in TECH198305 do not resolve this issue.
Re-insatlled the SMAgent and all plug-ins does not correct this.
Customer and ADV Engineer tried the following but it made no difference:
- Delete all the files under \Altiris\Inventory\NSI and
\Altiris\Inventory\outbox
- Run the command, “C:\Program Files\Altiris\Altiris Agent\Agents\Inventory
Agent\InvSoln.exe” /dhi



The NSI and NSE for HW Processor data class contains only "C6='0'" information.
All the other data is missing.

Yet manual calls to WMI does return the expected data.
The win32_processor.txt shows the processor to be an Intel Pentium 4 CPU
2.40GHz x86 Family 15 Model 2 Stepping 9 with a DataWidth of 32. It does show
the version with what appears to be Chinese characters (Version=型號 2,步驟 9).
This is Model 2, Step 9 in English.

The "CLN HW Processor.bak file shows:

<inventory>
<dataClass guid='{23d8740a-1e0e-4372-9986-e35793e36a93}' name='HW Processor'
manufacturer='Altiris' version='1.0' platform='Win32'>
<data>
<resource>
<row c6="0" />
</resource>
</data>
</dataClass>
</inventory>

The "c6" column maps to "Architecture.

The "CLN HW Processor Name Windows.bak file shows no data:

<inventory>
<dataClass guid='{1f616a7a-7c68-44aa-989f-9891c950debd}' name='HW Processor
Name Windows' manufacturer='Altiris' version='1.0' platform='Win32'>
<data>
<resource>

</resource>
</data>
</dataClass>
</inventory>


 

Trace level logging on the client returns the following entries when running an
Inventory policy for only the HW Processor data:

Severity: 8
Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CInvProvider::GetInventory
Description: Could not collect the inventory for data class={1f616a7a-7c68-44aa-
989f-9891c950debd}

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CInvInfo::ProcessResults
Description: Could not gather any inventory information for any approach of
this class.

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CConfig::CollectInventory
Description: Could not collect inventory information for <fields1>...</fields1>

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CConfig::GetInventoryInformation
Description: The pDLLInfo->m_GetInventoryInformation() failed

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: invutils.dll
Source: CAexInvUtils::GetInventoryInformation()
Description: InvUtils Exited with value -2147217408

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: invutils.dll
Source: CAexInvUtils::GetInventoryInformation()
Description: Inventory Gathering Failed

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: OpenFileForReading()::CreateFile() failed for file=[%s], Error=[%s]
Description: C:\Program Files\Altiris\Altiris Agent\Agents\Inventory
Agent\Result.txt

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: XMLDOMHelper
Description: CXMLDOMNodePtr::GetAttributeValue() error

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CConfig::CollectInventory
Description: The data class does not have condition specified

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CInvProvider::GetInventory
Description: data class={23d8740a-1e0e-4372-9986-e35793e36a93} inventory=
<row c6="0" />

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CConfig::GetInventoryInformation
Description: pDLLInfo->m_GetInventoryInformation() returned =
[<result><row c6="0" /></result>]

Module: invapi.dll
Source: CProcessor::GetInventory
Description: Successfully Gatherd Processor Information

Module: invapi.dll
Source: CProcessor::DoProcess
Description: Successfully Gatherd Processor Architecture Information.

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: OpenFileForReading()::CreateFile() failed for file=[%s], Error=[%s]
Description: C:\Program Files\Altiris\Altiris Agent\Agents\Inventory
Agent\Result.txt

Process: AeXNSAgent.exe (1824)
Thread: 2192
Module: InvProvider.dll
Source: CConfig::ProcessApproach
Description: Approach XML=
= <approach type="api">
<commands>
<command api="getprocessorinfo">
<properties>
<property mapsto="6">architecture</property>
</properties>
</command>
</commands>
</approach

Cause

Unknown, this has been referred to our Developers in ETrack 3256377.

Resolution

Point fix has been released. See attached file. NOTE: This PF has not gone through full testing and is provided as a limited PF and is not fully guaranteed.

1. Extract files from the archive to the Client Machines. Make sure PointFix is not extracted to Altiris directory (or any subfolder to it).  

2. Execute Client_Installer.bat file with administrative privileges (right-click > Run as administrator).

3. Old files will be automatically backed up to the Backup folder at the same location where Installer is and replaced with the new ones. Log-file Log.txt will be created at the same location where Installer is.

4. Close Installer window.

The point fix modifies the "InvConfigSln" XML file to get the Processor Family name field value.


Applies To

Server: 7.1 SP2 MP1 without roll-ups.
Client: Windows XP SP3 - Localization is Chinese Traditional

 

Attachments

Inventory_PointFix_3256377.zip get_app