Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.05 KB

File metadata and controls

24 lines (19 loc) · 1.05 KB

RDP-Collection-Windows-Broker

Discovery all servers in RDS collection. Checks if the server(s) are draining (not allowed connections) and activate the trigger.

Check service state :

  • RemoteApp Connections Administration and Remote Desktop Services
  • Internal Windows database (WID)
  • Service Broker for remote desktop connections

-- Setup --

  • Install the Zabbix agent on your host
  • Copy zabbix_broker.ps1 in the directory : "C:\Program Files\Zabbix Agent\scripts" (create folder if not exist)
  • Add the following line to your Zabbix agent configuration file.
  • EnableRemoteCommands=1
  • UnsafeUserParameters=1
  • ServerActive="IP or DNS Zabbix Server"
  • UserParameter=broker[*],powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zabbix_broker.ps1" "$1" "$2"
  • Import TemplateRdsCollections.xml file into Zabbix.
  • Associate "Template RDS Collections" to the host.

Template is in french.
Template for zabbix 3.4.X (please modify template for work on older versions)