CentOS 6.5 zabbix-windows-agent Installation
Download path
Www.zabbix.com/downloack/2.2.0/zabbix_agents_2.2.0.win.zip
Download to C drive
Build a Zabbix folder in the C drive
Copy the three programs in Bin=>win64 to Zabbix
Copy the Conf=>zabbix_agrnt.win.cong to the C drive
Modify Zabbix_agrnt.win.cong to Zabbix_agrnt.cong
Open Zabbix_agrnt.cong
server=115.29.245.240 # Fill in the IP address of the server
listenport=10051# Data port
hostname=115.29.245.240 # Fill in the server's Hostname, note the server side to be able to parse
Open CMD.exe Terminal
CD C:\zabbix
Zabbix_agentd.exe--install
Open My Computer = manage + = Services and Applications
Find Zabbix Service Click to start
After the installation is successful, there is one more Zabbix_agent.log file on the C drive.
Get monitoring
Open CMD.exe
CD C:\zabbix
TYPEPERF-QX "This command will harness Windows counters"
CTRL + C END
TYPEPERF-QX > C:\cpu.txt "Export to C-drive"
Open the Cpu.txt file. Find the monitoring items you want to monitor.
Copy the monitoring items inside to the Zabbix_agrnt.cong file and add them later. To stop the Zabbix service before adding, take \processor (_total) \% Processor time as an example below.
PERFCOUNTER=USERPERFCOUNTERCPU, "\processor (_total) \% Processor Time", 3
PERFCOUNTER=USERPERFCOUNTERCPUC1, "\processor (0) \% C1 time", 3
Perfcounter=logicaldisk_free_space, "\logicaldisk (_total) \% free Space", 3
"\processor (_total) \% Processor Time" counter name
"3" Refresh time
Don't move the rest.
Restart Service
Access to Zabbix Web management
Create a new host group master
Configuring ==> host Group master ==> New host group master ==> [Windows Server]
Configuring ==> host ==> Create host ==> add IP port
Host. Fill in the host's IP
Visible name casually written
Host Group
Configuration ==> Template ==>
Configuring ==> templates ==> Click on the template ==> project ==> Create a monitoring item ==> key value must match the name in Zabbix_agrnt.cong {USERPERFCOUNTERCPU}
Data type number (floating point)
Unit (%)
Configuring the ==> template ==> Click on the template ==> image ==> Create a graphic ==> project to add the newly created project
Configuring the ==> host ==>
CentOS 6.5 zabbix-windows-agent Installation