Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

CentOS 6.5 Zabbix-windows-Agen

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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 = = >

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report