免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4120 | 回复: 1

[Zabbix] zabbix item的计算问题 [复制链接]

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-02-27 06:20:00
发表于 2016-02-24 15:21 |显示全部楼层
请教个item的计算问题,要统计多个机器的外网流量,这Formula要怎么写?

Configurable fields

The key is a unique item identifier (per host). You can create any key name using supported symbols.

Calculation definition should be entered in the Formula field. There is virtually no connection between the formula and the key. The key parameters are not used in formula in any way.

The correct syntax of a simple formula is:

func(<key>|<hostname:key>,<parameter1>,<parameter2>,...)


照着官网的规则来写,last("host1_name:key")+last("host2_name:key"), 会报错Cannot evaluate function “last()”: item


对应机器的key已经定义过,是存在的,我感觉应该好似这个hostname的问题,但调试了几次不行,,特上来请教各位大哥~~求解

论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-02-27 06:20:00
发表于 2016-02-24 16:17 |显示全部楼层
自己顶一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP