Zabbix_agent for Windows installation

Source: Internet
Author: User

(1) Download Zabbix Client for Windows
After the official Download Zabbix agent, the compressed package contains 2 directories, one for Win32, the other is Win64, each directory should have 3 files, respectively: Zabbix_agentd.exe zabbix_get.exe zabbix_ Sender.exe
Depending on the operating system, place the file in the C:\zabbix directory

(2) Add client zabbix_agentd,conf file
Create a new zabbix_agentd.conf file in the C:\zabbix folder and write the following basic content:
Logfile=c:\zabbix\zabbix_agentd.log
Server=serverip or Zabbix_proxy ip,127.0.0.1
listenip=0.0.0.0
hostname=192.168.1.4
Unsafeuserparameters=1

#TOMCAT
Userparameter=tomcat.activeconnections,c:\zabbix\bat\tomcat_activeconnections.bat
Userparameter=tomcat.status,c:\zabbix\bat\tomcat_status.bat


Tomcat_activeconnections.bat:
@echo off
Netstat-ano|findstr "8080" |find/c/I "established"
Tomcat_status.bat:
@echo off
TASKLIST|FIND/C/I "Tomcat"

(3) Install Zabbix client and start
Go to the target host's C:\zabbix directory and execute the following command to complete the client installation:
Zabbix_agentd.exe-c C:\zabbix\zabbix_agentd.conf-i
If the installation encounters an error, try running the CMD program by right-clicking "Run as Administrator" before running the command above.
Execute the following command to start the client:
Zabbix_agentd.exe-c c:\zabbix\zabbix_agentd.conf-s
Parameter meaning:
-C Make configuration file location
-I is the installation client
-S Start client
-X Stop Client
-D Uninstalling the client

Windows client must be on port 10050 if firewall is turned on (default passive mode needs to be released)

This article is from the "Linux Technology blog" blog, make sure to keep this source http://qiujiebin2010.blog.51cto.com/4701626/1604134

Zabbix_agent for Windows installation

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.