码迷,mamicode.com
首页 > Windows程序 > 详细

How to Install Zabbix Agent on Windows System

时间:2016-12-14 14:46:09      阅读:332      评论:0      收藏:0      [点我收藏+]

标签:zabbix windows

Zabbix Agent is installed on remote systems needs to monitor through Zabbix server. The Zabbix agent collects resource utilization and applications data on client system and provide such information to zabbix server on their requests.

This article will help you to install Zabbix agent service on windows system. Also visit our other article to install zabbix agent on CentOS/RHEL and Ubuntu/Debian Systems.

Step 1 – Download Agent Source Code

Download latest windows zabbix agent source code from zabbix official site or use below link to download zabbix agent 3.0.0.

http://www.zabbix.com/downloads/3.0.0/zabbix_agents_3.0.0.win.zip

After downloading the zipped archive of zabbix client, extract its content under c:\zabbix directory.

Step 2 – Create Agent Configuration File

Now make of copy of sample configuration file c:\zabbix\conf\zabbix_agentd.win.conf to create zabbix agent configuration file at c:\zabbix\zabbix_agentd.conf. Now edit configuration and update following values.

#Server=[zabbix server ip]
#Hostname=[Hostname of client system ]

 Server=192.168.1.11Hostname=WIN-SERVER-2012

Step 3: Install Zabbix Agent as Windows Service

Lets install zabbix agent as windows server by executing following command from command line.

c:\zabbix\bin\win64> zabbix_agentd.exe -c c:\zabbix\zabbix_agentd.conf --installzabbix_agentd.exe [9084]: service [Zabbix Agent] installed successfully
zabbix_agentd.exe [9084]: event source [Zabbix Agent] installed successfully

技术分享

Step 4 – Start/Stop Agent Service

Use following command to start zabbix agent service from command line

c:\zabbix\bin\win64> zabbix_agentd.exe --startzabbix_agentd.exe [5048]: service [Zabbix Agent] started successfully
c:\zabbix\bin\win64> zabbix_agentd.exe --stopzabbix_agentd.exe [7608]: service [Zabbix Agent] stopped successfully

Also we can start/stop/restart from windows services control panel. To open services control panel use below steps.

Open run windows >> type “services.msc” >> press enter

技术分享

Congratulation’s! You have successfully installed Zabbix Agent on Windows system. Lets Add Host in Zabbix Server to be monitor.


How to Install Zabbix Agent on Windows System

标签:zabbix windows

原文地址:http://tenderrain.blog.51cto.com/9202912/1882529

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!