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

Zabbix 3.0 monitors windows deployment

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

Share

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

Download client

Http://www.zabbix.com/downloads/3.0.4/zabbix_agents_3.0.4.win.zip

Create a zabbix folder in disk c for later management. Unzip the downloaded zabbix package into the zabbix folder.

There are two files, bin conf. There are 32-bit and 64-bit folders in the bin directory. Choose the version according to your system (here is the 64-bit system), and copy the three files into the zabbix folder.

Copy the files in conf to disk C and rename it to zabbix_agentd.conf

Modify the zabbix_agentd.conf file (mainly modify these four places)

LogFile=c:\ zabbix\ zabbix_agentd.log # # path to the log file

Server=192.168.103.181 # zabbix server IP ServerActive=192.168.103.181 # IPHostname=bob # own computer name of the zabbix server

And save it. And open cmd as an administrator

So the service is installed. If you want to uninstall it, you can use zabbix_agentd.exe-- uninstall to uninstall it.

When you are finished, you can start zabbix in the service, and open-computer Management-Service-find zabbix Agent to start.

Or, you can add the zabbix_agent service to the service.

C:\ bin\ win64\ zabbix_agentd.exe-c:\ conf\ zabbix_agentd.win.conf-I

Start command

C:\ bin\ win64\ zabbix_agentd.exe-c:\ conf\ zabbix_agentd.win.conf-s

Note: the path to the specified program is preceded by the path to the specified configuration file. If the name of the previous file has been changed, it will also be changed here.

C:\ bin\ win64\ zabbix_agentd.exe-c:\ conf\ zabbix_agentd.win.conf-d delete operation

After startup, you can use the command to see if the port is up.

Netstat-an | find "10050"

Obtain the monitoring metrics of windows machines

Export monitoring item

# for custom monitoring

All the options that can be used to monitor the machine are exported.

Open the zabbix_agentd.txt file and find\ Processor (_ Total)\% User Time

Add this monitoring item to the zabbix_agentd.conf file

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

Description: PerfCounter fixed format, UserPerfCountercpuUsertime custom name,\ Processor (_ Total)\% User Time monitored items, 3 means to get every 3 seconds.

Other options define services in the same way.

Add a client in the zabbix_server web console

Configure-host group master-create host group-windows_server (defined according to your own environment)

Configure-host-create host-

Add monitoring items for windowsserver

Template-- windowsserver-- monitoring item-- create monitoring item-- (note: the key value should be kept consistent with the custom name in zabbix_agentd.conf)

Note: the key value should be kept consistent with the custom name in zabbix_agentd.conf.

Add Drawin

Add template-windowsservers (previously created template)

View Drawin

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