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.