i want monitor windows cpu processes in % by zabbix but zabbix item proc.cpu.util[Sqlsvr.exe] is not supported in windows.
so i try to do a script in powershell and executed by zabbix, i don't know if its a good idea, do you have idea ?
my powershell script to take cpu process in %:
$test = Get-WmiObject -class Win32_PerfFormattedData_PerfProc_Process
-filter "Name='chrome'" |
Select-Object @{ Expression = {$_.PercentProcessorTime}} |Format-Table -AutoSize
echo $test
do you have idea to take cpu process in % or take only cpu process in % ?