Get the App
SLTechnology News&Howtos  ›  Servers  › 

CentOS 6.5 Zabbix-windows-Agen

Shulou Source: shulou.com Published: 2022-06-03 07:58:12 10月04日 Update

CentOS 6.5Zabbix-windows-Agent installation

Download path

Www.zabbix.com/downloack/2.2.0/zabbix_agents_2.2.0.win.zip

Download to disk C

Create a zabbix folder on disk C

Copy the three programs in bin= > win64 to zabbix

Copy conf= > zabbix_agrnt.win.cong to disk C

Change zabbix_agrnt.win.cong to zabbix_agrnt.cong

Open zabbix_agrnt.cong

Server=115.29.245.240 # enter the IP address of Server

ListenPort=10051# data port

Hostname=115.29.245.240 # fill in the HostName of Server, and note that the server should be able to parse

Open the CMD.exe terminal

Cd c:\ zabbix

Zabbix_agentd.exe-install

Open my computer = > Administration = > Services and applications = > Services

Find the zabbix service and click start.

After successful installation, there is an extra zabbix_agent.log file on disk C.

Get Monitoring

Open CMD.exe

Cd c:\ zabbix

Typeperf-qx [this command will count the harness windows]

End of ctrl+C

Typeperf-qx > c:\ cpu.txt [export to disk c]

Open the cpu.txt file. Find the monitoring items that need to be monitored.

Copy the monitoring items inside and add them after the zabbix_agrnt.cong file. To stop the zabbix service before adding, take\ Processor (_ Total)\% Processor Time as an example.

PerfCounter=UserPerfCountercpu, "\ Processor (_ Total)\% Processor Time", 3

PerfCounter=UserPerfCountercpuC1, "\ Processor (0)\% C1 Time", 3

PerfCounter=LogicalDisk_Free_Space, "\ LogicalDisk (_ Total)\% Free Space", 3

Counter name derived from [\ Processor (_ Total)\% Processor Time]

[3] Refresh time

Don't move the rest.

Restart the service

Enter zabbix web page management

Create a new host group master

Configuration = > Host Group Master = > New Host Group Master = > [windows server]

Configuration = > Host = > create Host = = > add IP Port

Mainframe. Enter the IP of the host

Write the visible name casually.

Host group

Configuration = > template = >

Configuration = > template = > Click template = > Project = > create Monitoring item = = > key value must be consistent with the name in zabbix_agrnt.cong {UserPerfCountercpu}

Data type numeric (floating point)

Unit (%)

Configuration = > template = > Click template = > Image = > create drawing = > add the newly created project to the project

Configuration = > host = = >

Tags: Host configuration template service monitoring file project name data program port counter management consistency success three lieutenant general unit name command Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn MySQL macOS Huawei OPPO Reno