我在监控网卡的流入流出统计,使用的net.if.in[if,<mode>]、net.if.out[if,<mode>]这两个自带的监控项。但是发现传回来的值距正常值偏离非常大。
使用的这两个参数net.if.in[eth0,bytes]、net.if.out[eth0,bytes],测试传回来的值
[root@VM-4-5-centos ~]# zabbix_get -s 'xxxxxxxx' -p xxxxx -k 'net.if.in[eth0,bytes]'
36612959266
[root@VM-4-5-centos ~]# zabbix_get -s 'xxxxxxxxxx' -p xxxxx -k 'net.if.out[eth0,bytes]'
36555059517
但与此同时,被监控机上eth0网卡上的流量不超过5Mb/s
不知道是我的设置问题还是这个监控项出了问题了呢
使用的这两个参数net.if.in[eth0,bytes]、net.if.out[eth0,bytes],测试传回来的值
[root@VM-4-5-centos ~]# zabbix_get -s 'xxxxxxxx' -p xxxxx -k 'net.if.in[eth0,bytes]'
36612959266
[root@VM-4-5-centos ~]# zabbix_get -s 'xxxxxxxxxx' -p xxxxx -k 'net.if.out[eth0,bytes]'
36555059517
但与此同时,被监控机上eth0网卡上的流量不超过5Mb/s
不知道是我的设置问题还是这个监控项出了问题了呢
Comment