Hi,
After working hard with aggregation simple ckecks, I have discovered one way to solve this common problem.
Finally, I managed to create the following Zabbix Aggregate Item: grpsum('iTarifas_Planas','B','last','0')
iTarifas_Planas: Host group.
B: Item key.
last: Item func.
0: parameter
The problem was with the regular expression. Zabbix looks the item you enter, and compares it with some regular expressions. Debugging the problem I have seen that it's defined in the following file: include/defines.inc.php
There you can see: define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\('.ZBX
_EREG_PARAMS.'\)){0,1})');
In the original file, you will see some "[]", just replace them with "()", and it should works.
Good luck.
Marcos
After working hard with aggregation simple ckecks, I have discovered one way to solve this common problem.
Finally, I managed to create the following Zabbix Aggregate Item: grpsum('iTarifas_Planas','B','last','0')
iTarifas_Planas: Host group.
B: Item key.
last: Item func.
0: parameter
The problem was with the regular expression. Zabbix looks the item you enter, and compares it with some regular expressions. Debugging the problem I have seen that it's defined in the following file: include/defines.inc.php
There you can see: define('ZBX_EREG_ITEM_KEY_FORMAT', '('.ZBX_EREG_INTERNAL_NAMES.'(\('.ZBX
_EREG_PARAMS.'\)){0,1})');
In the original file, you will see some "[]", just replace them with "()", and it should works.
Good luck.
Marcos
Comment