{os.get[NetworkCardSpeed,{#IFNAME}].last(0)}<1000
zabbix_get -s 127.0.0.1 -k ‘os.get[NetworkCardSpeed,eth2]‘ 0
{os.get[NetworkCardSpeed,{#IFNAME}].last(0)}<1000 & {os.get[NetworkCardSpeed,{#IFNAME}].last(0)}#0
select distinct(a.host),c.ip,b.name,b.lastvalue from hosts a,items b, interface c where a.hostid=c.hostid and a.hostid=b.hostid and b.key_ like ‘os.get[NetworkCardSpeed%‘ and b.lastvalue=‘1000‘;
14时24分28秒 IFACE rxpck/s txpck/s rxbyt/s txbyt/s rxcmp/s txcmp/s rxmcst/s 14时24分29秒 eth0 6.93 28139.60 473.27 41837599.01 0.00 0.00 6.93 14时24分29秒 eth1 29448.51 31732.67 1929669.31 47286517.82 0.00 0.00 6.93 14时24分29秒 bond0 29455.45 59872.28 1930142.57 89124116.83 0.00 0.00 13.86
本文出自 “菜光光的博客” 博客,请务必保留此出处http://caiguangguang.blog.51cto.com/1652935/1393656
使用zabbix discovery监控网卡百兆,布布扣,bubuko.com
原文:http://caiguangguang.blog.51cto.com/1652935/1393656