博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Zabbix 监控windows的网卡流量
阅读量:7226 次
发布时间:2019-06-29

本文共 1166 字,大约阅读时间需要 3 分钟。

hot3.png

Zabbix_server 3.0.5

Zabbix_agentd 3.0.4

在windows客户端获取网卡参数列表:

typeperf -qx | find "Network Interface" | find "Bytes" 

\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Total/sec

\Network Interface(Red Hat VirtIO Ethernet Adapter _2)\Bytes Total/sec

\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Received/sec

\Network Interface(Red Hat VirtIO Ethernet Adapter _2)\Bytes Received/sec

\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Sent/sec

\Network Interface(Red Hat VirtIO Ethernet Adapter _2)\Bytes Sent/sec

 

可直接保存为文件方便查看

[typeperf -qx | find "Network Interface" | find "Bytes"  > c: \network.txt]

由此看出 此台windows服务器有两块网卡在启用状态分别是

Network Interface(Red Hat VirtIO Ethernet Adapter)

\Network Interface(Red Hat VirtIO Ethernet Adapter _2)

在zabbix_agentd.conf添加

#NETWORK

PerfCounter = Neteth0INInto,"\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Received/sec",30

PerfCounter = Neteth0OutInto,"\Network Interface(Red Hat VirtIO Ethernet Adapter)\Bytes Sent/sec",30

 

修改配置后重新启动zabbix_agentd.exe后通过Zabbix-Server端

Configuration--Templates--Template OS Windows--Item--Create item

添加监控项

添加监控图表

 

转载于:https://my.oschina.net/HeAlvin/blog/895763

你可能感兴趣的文章
Linux内核的ioctl函数学习
查看>>
Liunx Shell入门
查看>>
Thread的中断
查看>>
linux --- 内存管理
查看>>
PostgreSQL
查看>>
CPU 超线程、多核
查看>>
用ASCII码显示string.xml中的特殊字符
查看>>
网站301跳转到新域名
查看>>
codewars020: The Clockwise Spiral 数字顺时针螺旋矩阵
查看>>
ios 下拉刷新
查看>>
Django在Windows系统下的安装配置
查看>>
懒到极致:对mybatis的进一步精简
查看>>
Android学习之OTA Update
查看>>
Maven Multi-environment package
查看>>
JMM-java内存模型
查看>>
iOS的soap应用(webservice) 开发
查看>>
Delphi listview 点击列头排序
查看>>
android preference page
查看>>
mysql索引挑选
查看>>
关于冰岛足球的段子
查看>>