Highlighted
Honored Contributor.
Honored Contributor.
257 views

Host Application By WMI Error.

Hi Experts,

I am getting the below error for some of my windows machine. Do Any one have any idea about this.

UCMDB 10.32 CP 25.

raceback (most recent call last):
File "process_discoverer", line 745, in discoverAllProcesses
File "process_discoverer", line 147, in findAllProcessesByWmi
File "wmiutils", line 485, in getWmiData
Exception: java.lang.Exception: Wmi query is invalid.
</log>
<log start="13:55:41" severity="debug">Reporting error code 143 to framework.</log>
<log start="13:55:41" severity="debug">Error message is: Failed to discover processes by wmi</log>
<log start="13:55:41" severity="error">Failed to discover processes by wmi
Traceback (most recent call last):
File "wmi_dis_all", line 111, in DiscoveryMain
ValueError
</log>
<log start="13:55:41" severity="debug">PluginEngine found 119 plugins</log>
<log start="13:55:41" severity="debug">Starting applications topology discovery</log>
<log start="13:55:42" severity="debug"> .. total number of signatures: 142</log>
<log start="13:55:42" severity="debug"> .. number of enabled signatures: 137</log>
<log start="13:55:42" severity="debug"> .. number of matched signatures: 0</log>
<DISCONNECT start="13:55:42" duration="0" CMD="client_disconnect" RESULT="" IS_NULL="Y" type="wmi" credentialsId="23_1_CMS" />
<log start="13:55:42" severity="info">Execution current time:2018/07/20 13:55:42</log>
</execution>

0 Likes
4 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Host Application By WMI Error.

What is the target OS type and architecture?

The exceptions is

except Exception, ex:
        #on WIN32 systems there's no OSArchitecture attribute
        if str(ex) == "java.lang.Exception: Wmi query is invalid":
            return '32-bit'
        raise ex

 

Is WMI present on that target node? What version?

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: Host Application By WMI Error.

HI

The OS on the target machine is Windows 2008

and the architecture is 32 bit.

AND WMI Version is 

7601.17514

PFA The logs also.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Host Application By WMI Error.

That explains it.

It's a know limitation based on the way WMI works on NT 32bit.

 

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Host Application By WMI Error.

Honestly, I think that the trigger TQL should be altered to exclude the Windows machines on 32bit, at least the ones we know so far from other discovery jobs.

It's useless to run WMI discovery on them because it will always fail.

Kind regards,
Bogdan Mureșan

EMEA Technical Success
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.