Zabbix daily Monitoring (win_agent mode)

Source: Internet
Author: User

Reference post: https://www.cnblogs.com/xqzt/p/5130469.html

Https://www.cnblogs.com/zoulongbin/p/6395047.html

This is the win2008 system that needs to be monitored.

1. Download the agent file

Https://www.zabbix.com/download_agents

Note: (Zabbix_agents_3.4.6.win.zip Compressed package contains two folders: One is the bin folder and the other is the Conf folder.) There are two folders in the Bin folder, one is the Win32 folder, the ZABBIX_AGENTD installer is applied to the Windows 32-bit operating system, and the Win64 folder is stored in the ZABBIX_AGENTD installer for Windows 64-bit operating system. Conf folder is the configuration file zabbix_agentd.win.conf)

2. Installation Agent

1, set up a Zabbix file under the C drive, the Zabbix_agentd.exe, Zabbix_get.exe, Zabbix_sender.exe, and Dev of the Win64 folder in the Zabbix_agentd compressed package just downloaded. the folder is copied to the Zabbix folder.

2, then put Conf folder zabbix_agentd.win.conf copy Zabbix folder. (The folder creation path can be customized, but later ZABBIX_AGENTD client runs the installation command needs to run according to the path created)

3. Edit the zabbix_agentd.win.conf master profile using a text editor

Take the passive mode as an example and modify the following:

Server=ip (IP address of zabbix-server) #ServerActive=127.0. 0.1    Comment out active mode debuglevel=3    turn on debug log hostname=KUAIYUN_WIN2008_A  

4. Operation Service

To open cmd with administrator status

C:\zabbix\zabbix_agentd.exe-c C:\zabbix\zabbix_agentd.win.conf  -i   -C C:\zabbix\zabbix_ Agentd.win.conf  -s   #启动服务以下仅供参考   -d   #卸载客户端   -x   #停止客户端   -C   #指定配置文件位置

5. Other Operation Test Port:
C:\zabbix\bin\win64>netstat-ano|findstr"10050"TCP0.0.0.0:10050 0.0.0.0:0LISTENING10268TCP [::]:10050[::]:0LISTENING10268C:\zabbix\bin\win64>tasklist|findstr"10268"Zabbix_agentd.exe10268Services0 6,944K
Open 10050 ports on the firewall

Control Panel--Select Windows Firewall--Advanced settings--Set inbound rules--new rule--open port TCP 10050;

Set boot up

Zabbix daily Monitoring (win_agent mode)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.