5358 / 110193777
Zabbix 5.0 : Add Monitoring Target (Windows)2020/06/23
Add Monitoring Target. Add a Windows Server 2019 as an example on here.
It's necessarry to configure Windows Firewall to allow [10050/tcp] port if you enable it.
Download an binay file of Zabbix Agent on target Windows host from the Zabbix site below.
|||After downloading, extract the ZIP file, then [bin] and [conf] folder exist like follows. Copy [zabbix_agentd.conf] which is under the [conf] and also copy 3 [exe] files which are under the [bin] folder into a folder which you'd like to locate them.|
|For example on here, create a new folder [C:\Program Files\Zabbix_Agent] and copy files of above.|
|||Open the configuration file [zabbix_agentd.conf] with a text editor and change parameters.|
# line 23: specify the location of log file
# line 107: specify Zabbix server
# line 148: specify Zabbix server# line 159: specify the own hostname
|||Start PowerShell with admin priviledge and run command like follows.
That's OK if words [*** installed successfully] are shown.
PS> cd "C:\Program Files\Zabbix_Agent" PS> .\zabbix_agentd.exe --config "C:\Program Files\Zabbix_Agent\zabbix_agentd.conf" --install
|||After installing, open service management, then [Zabbix Agent] has been just added like follows. Click [Start] to start it.|
|||Login to Zabbix admin site with [Admin] user and select [Configuration] - [Hosts] on the left pane, then click [Create Host] button on the right pane.|
|||Input a hostname for [Hostname] field, input any name you like for [Visible name] field, select a group or add a new group for [Groups] field, input IP address and DNS name for [Interfaces] field. For other fields are optional. If it's OK all, move to [Templates] tab.|
|||Click [Select] button.|
|||Select [Template OS Windows by Zabbix agent active].|
|||Confirm the template added and click [Add] button.|
|||New monitoring target is added. After few minutes, monitoring data are collected like follows.|