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