Skip to content

Invalid class error when collecting process information in Windows 2012 #105

Open

Description

Reported in https://discuss.elastic.co/t/no-data-to-display-for-the-selected-metrics/134679

When collecting process information in Windows 2012 Standard (not R2), errors like these appear and no data is collected:

2018-06-06T00:24:46.637+0530 ERROR process/process.go:454 Error getting process details. pid=620: error getting pr
ocess arguments for pid=620: ProcArgs failed for pid=620: could not get Win32_Process WHERE ProcessId = 620: Exception o
ccurred. (Invalid class )

It doesn't seem to happen in more recent versions of Windows Server (at least it doesn't happen in 2012 R2 and 2016), we already have a check for Windows Vista, maybe we need something else, although the documentation mentions that it is supported since Windows 2008.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions