标签:network traffic 监控网卡流量 typeperf
1、获取网卡信息
windows下进入cmd,输入“typeperf -qx | find "Network Interface" | find "Bytes" > C:\network.txt”然后会在c盘下生成 network.txt 文件,打开文件在其中可以搜索到Network Interface性能相关的参数,利用这些性能计数器路径就可以获取相关的性能值.(这个和监控iis类似)
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
PerfCounter = Neteth1InInto,"\Network Interface(Red Hat VirtIO Ethernet Adapter _2)\Bytes Received/sec",30
PerfCounter = Neteth1OutInto,"\Network Interface(Red Hat VirtIO Ethernet Adapter _2)\Bytes Sent/sec",30
3、zabbix模板创建
4、检测结果:
本文出自 “人为刀俎我为鱼肉” 博客,请务必保留此出处http://heartbeats.blog.51cto.com/10780360/1705478
标签:network traffic 监控网卡流量 typeperf
原文地址:http://heartbeats.blog.51cto.com/10780360/1705478