Closed phiremande closed 11 months ago
That error message means exactly what it says ;) the cpu plugin is not implemented for macOS. However, if you build telelgraf with CGO enabled, it will work. Our official builds are built without CGO enabled, but the homebrew builds do enable it.
The CPU plugin pulls data from gopsutil library. It requires the use of CGO to pull data for macOS cpus.
Relevant telegraf.conf
Logs from Telegraf
System info
macOS ventura 13.6, telegraf 1.29.0-3fbe624b
Docker
No response
Steps to reproduce
Expected behavior
No error should be shown for cpu input plugin.
Actual behavior
2023-10-25T08:56:00Z E! [inputs.cpu] Error in plugin: error getting CPU info: not implemented yet
Additional info
No response