windows服务器上配置
- 打开"设备管理器"找到网卡名称

- 打开"cmd" 用typeperf 抓取windows中的网卡信息输出到c:\network.txt
C:\Users\Administrator>typeperf -qx | find “Network Interface” | find “Bytes” > c:\network.txt
- 打开network.txt文件,找到对应信息
\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Received/sec
\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Sent/sec
4.找到 zabbix_agentd.win.conf 配置文件,在最后一行写入如下
PerfCounter = Net_Incoming,"\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Received/sec",30
PerfCounter = Net_Outgoing,"\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Sent/sec",30
5.保存后重启zabbix_agent
zabbix_agentd.exe -c d:\zabbix\c

本文指导如何在Windows服务器上配置Zabbix监控,通过`typeperf`命令抓取网卡信息,并在zabbix_agentd.win.conf配置文件中添加参数,监控网络流入和流出流量。验证成功后在Zabbix服务器上创建监控项和触发器,实现精准监控。
最低0.47元/天 解锁文章
144

被折叠的 条评论
为什么被折叠?



