Open 18vamberto opened 2 years ago
same Problem here. I only get hte message unsupported item key
add the following line to the zabbix_agentd.conf on the Windows Server UserParameter=rdp.terminal.server[*],powershell.exe -NoProfile -File "C:\app\zabbix\scripts\rdp.terminal.server.ps1" "$1" "$2"
Friend, I did this whole process but it still doesn't work in Zabbix 6
Friend, I did this whole process but it still doesn't work in Zabbix 6
I created this Skript for the Installation. With this Skript i dont get this error anymore
You need to run this in cmd as Admin on the Windows Server you want to monitor
mkdir C:\app\zabbix\scripts
mkdir C:\app\zabbix\conf\rdp
curl "https://files.jezz.systems/etc/zabbix/terminal/rdp.terminal.server.ps1" -o "C:\app\zabbix\scripts\rdp.terminal.server.ps1"
curl "https://files.jezz.systems/etc/zabbix/terminal/rdp.terminal.server.conf" -o "C:\app\zabbix\conf\rdp\rdp.terminal.server.conf"
curl "https://files.jezz.systems/etc/zabbix/terminal/PSTerminalServices.zip" -o "C:\app\zabbix\conf\rdp\PSTerminalServices.zip"
powershell -command "Expand-Archive C:\app\zabbix\conf\rdp\PSTerminalServices.zip -DestinationPath 'C:\Windows\System32\WindowsPowerShell\v1.0\Modules\'"
del "C:\app\zabbix\conf\rdp\PSTerminalServices.zip"
echo UserParameter=rdp.terminal.server[*],powershell.exe -NoProfile -File "C:\app\zabbix\scripts\rdp.terminal.server.ps1" "$1" "$2" >> "C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf"
net stop "Zabbix Agent 2" && net start "Zabbix Agent 2"
FRIEND I DID THIS PROCESS EXACTLY PRACTICALLY THE SAME ON SERVER 2019 WITH THE COMMANDS IT IS WORKING NORMALLY I SAY THIS VIA POWER SHELL INSIDE THE C:\APP FOLDER EXECUTE THIS COMMANDS .\rdp.terminal.server.ps1 ACTIVE
.\rdp.terminal.server.ps1 ACTIVENUM
.\rdp.terminal.server.ps1 IP
.\rdp.terminal.server.ps1 DEVICE
.\rdp.terminal.server.ps1 INACTIVE
.\rdp.terminal.server.ps1 INACTIVENUM
And RETURN NORMALLY NOW ZABBIX DOES NOT BRING THE INFORMATION
I'll be testing other templates to see if it works and post answers for you
Fabio, vai no item do seu Zabbix, e muda de Agent Active para Agent que funciona. Testei aqui agora.
Abraço!
Hello freinds,
Soon I am planning to update this repository and test with Zabbix 6
P.S> now I am using Zabbix 6.4.2 and its works well with this template. I'll export templeate from my Zabbix and update this repo.
Good afternoon
I tried to use your template in zabbix 6.0.7, but I can't see any data, can you help me with this, do you plan to release it for zabbix 6?
Yours sincerely.