Telegraf System Plugin Windows

Hi,

I have a Windows Server telegraf agent installed and [[inputs.system]] plugin to get number of cpus on the server. Task manager shows “64 core” yet telegraf shows 40 cores. Is there a reason and a way to fix this?

PS. I chose to open this topic here instead of a github issue because I don’t think this is a bug there has to be an explanation.

I’m not sure, but I can say that uses the GetActiveProcessorCount function in kernel32.dll. On my system this seems to be returning the correct value.

What does this command say?

wmic cpu get NumberOfCores, NumberOfLogicalProcessors

We have re-configured CPU cores on VMWare side and It’s fixed. I don’t know why.

Apologies for touching on this after so much time. This is the only thing I can find. Trying to understand why Telegraf will not collect results on anything more than the first 64 cores of the system. Also, is _Total the average of the first 64 cores or all 384 threads? Is there an option to have a feature request to get all 384 threads to be logged?

wmic cpu get NumberOfCores, NumberOfLogicalProcessors
Provides this output:
NumberOfCores NumberOfLogicalProcessors
96 192
96 192