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

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

Open
jsoriano opened this issue Jun 5, 2018 · 0 comments
Open
Labels

Comments

@jsoriano
Copy link
Member

jsoriano commented Jun 5, 2018

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.

@jsoriano jsoriano added the bug label Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant