- 论坛徽章:
- 1
|
请教个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的问题,但调试了几次不行,,特上来请教各位大哥~~求解 |
|