本文共 1589 字,大约阅读时间需要 5 分钟。
1 | {os.get[NetworkCardSpeed,{ #IFNAME}].last(0)}<1000 |
1 2 | zabbix_get -s 127.0.0.1 -k 'os.get[NetworkCardSpeed,eth2]' 0 |
1 2 | {os.get[NetworkCardSpeed,{ #IFNAME}].last(0)}<1000 & {os.get[NetworkCardSpeed,{ #IFNAME}].last(0)}#0 |
1 2 3 4 | 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' ; |
1 2 3 4 | 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 |