(searching 'zbx_notsupported' in Forums only gave me Russian results)

I'm trying to collect an inventory of installed software from Windows clients.
I started off of this effort: https://www.reddit.com/r/zabbix/comm...nventory_list/
On the endpoint, I have agent 5.0.2.
In its C:\Windows\Zabbix, I have a ps1 file containing:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\Curre ntVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize > C:\Windows\Zabbix\InstalledProgramsList.txt
In the same folder, I have a bat file containing:
u/echo off del /s C:\Windows\Zabbix\*.txt >nul 2>null Powershell.exe -executionpolicy remotesigned -File C:\Windows\Zabbix\InstalledProgramsList.ps1 TYPE C:\Windows\Zabbix\InstalledProgramsList.txt
In the agent's conf file, I have set the following:
- AllowKey=system.run[*]
- UnsafeUserParameters=1
- UserParameter=Software.list[*],C:\Windows\Zabbix\InstalledProgramsList.bat
I have restarted the Zabbix agent service.
When I try testing it with .\zabbix_agentd -t Software.list[*], I get: Software.list[*] [m|ZBX_NOTSUPPORTED] [Unsupported item key.]
Other (pre-built) active agent keys show up fine on the server, so I'd imagine the general agent config/connectivity is fine.
What am I missing?
I've been poring over my work time and again, and learning lots along the way. Thank you for all guidance.
I'm trying to collect an inventory of installed software from Windows clients.
I started off of this effort: https://www.reddit.com/r/zabbix/comm...nventory_list/
On the endpoint, I have agent 5.0.2.
In its C:\Windows\Zabbix, I have a ps1 file containing:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\Curre ntVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table -AutoSize > C:\Windows\Zabbix\InstalledProgramsList.txt
In the same folder, I have a bat file containing:
u/echo off del /s C:\Windows\Zabbix\*.txt >nul 2>null Powershell.exe -executionpolicy remotesigned -File C:\Windows\Zabbix\InstalledProgramsList.ps1 TYPE C:\Windows\Zabbix\InstalledProgramsList.txt
In the agent's conf file, I have set the following:
- AllowKey=system.run[*]
- UnsafeUserParameters=1
- UserParameter=Software.list[*],C:\Windows\Zabbix\InstalledProgramsList.bat
I have restarted the Zabbix agent service.
When I try testing it with .\zabbix_agentd -t Software.list[*], I get: Software.list[*] [m|ZBX_NOTSUPPORTED] [Unsupported item key.]
Other (pre-built) active agent keys show up fine on the server, so I'd imagine the general agent config/connectivity is fine.
What am I missing?
I've been poring over my work time and again, and learning lots along the way. Thank you for all guidance.
Comment