V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
kslr
V2EX  ›  问与答

请教一下 Zabbix 合并多网卡流量的写法

  •  
  •   kslr · 2018-08-23 22:15:28 +08:00 · 868 次点击
    这是一个创建于 2087 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/calculated

    根据文档写了

    last("net.if.in[eth0,bytes]")+last("net.if.out[eth0,bytes]")
    或者
    last("net.if.in[eth0,bytes]")+last("net.if.in[eth1,bytes]")
    
    

    但是一直提示不合法关键词,我尝试删掉+号就可以工作(监控项)

    那么正确的写法是什么?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4912 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 09:58 · PVG 17:58 · LAX 02:58 · JFK 05:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.