[ZBX-3625] frontend does not allow to save a valid aggregated item key Created: 2011 Mar 17  Updated: 2017 May 30  Resolved: 2011 Nov 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.4
Fix Version/s: 1.8.9, 2.0.0

Type: Incident report Priority: Blocker
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: aggregate, items
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For instance, our GUI does not allow to create an aggregated item with perfectly valid key "grpsum[[servers1,servers2,servers3],agent.ping,last,0]", because it insists on arguments having double quotes around them. This restriction seemed to be required for earlier versions of Zabbix server, but not anymore.



 Comments   
Comment by Aleksandrs Saveljevs [ 2011 Mar 18 ]

Note that until this is implemented the array syntax for aggregate items will not work, i.e. we should use grpsum["group1,group2,group3",agent.ping,last,0] as a workarouind, instead of the expected grpsum[[group1,group2,group3],agent.ping,last,0]. Fortunately, documentation at http://www.zabbix.com/documentation/1.8/manual/config/items#aggregated_checks does not give any examples with multiple groups.

Comment by Alexander Vladishev [ 2011 Nov 07 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-3625

Comment by dimir [ 2011 Nov 09 ]

When trying to create an item with key:

grpavg[[Zabbix servers, Linux servers],vm.memory.size[available],avg,30]

an error occurs:

Error in item key: Incorrect usage of bracket symbols. ',' found after final bracket.

<dimir> Thanks to asaveljevs this is solved, if key parameter ("vm.memory.size[available]" in this case) contains square brackets it has to be double-quoted.

Comment by dimir [ 2011 Nov 09 ]

Successfully tested.

Comment by Alexander Vladishev [ 2011 Nov 10 ]

Trunk fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-3625-TRUNK

Comment by Alexander Vladishev [ 2011 Nov 10 ]

Reopened for code reviewing and testing a trunk.

Comment by Alexander Vladishev [ 2011 Nov 22 ]

Available in version pre1.8.9, r23092

Generated at Thu Apr 25 14:49:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.