[ZBX-11946] Calculated item documentation not correct for "last" function Created: 2017 Mar 21  Updated: 2017 May 30  Resolved: 2017 Mar 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Documentation (D)
Affects Version/s: 3.0.8
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Dimitri Bellini Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: calculateditems, documentation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RedHat 6.x Zabbix 3.0



 Description   

We notice a small problem on the Calculated Item documentation of Zabbix 3.0, in every example of "last" function the parameter1 is not reported.
As i remember before zabbix 2.2 release this parameter was an option but since 2.2 is a requirement (I have tested on Zabbix 3.0).
Could you update the documentation to reflect this requirement?

Ref.https://www.zabbix.com/documentation/3.2/manual/config/items/itemtypes/calculated
Example:

Use of function last:
100*last("vfs.fs.size[/,free]")/last("vfs.fs.size[/,total]")


 Comments   
Comment by Glebs Ivanovskis (Inactive) [ 2017 Mar 21 ]

As i remember before zabbix 2.2 release this parameter was an option but since 2.2 is a requirement (I have tested on Zabbix 3.0).

The other way round, I guess.

Aren't examples working?

Comment by Dimitri Bellini [ 2017 Mar 21 ]

I'm very sorry... I have now retested everything and the example is working ok.
My problems with calculated items probably was coming from "Configuration Cache" reload time and fast item modifications... The same old problems
Please close the ticket.
Thanks very much

Generated at Fri Apr 26 13:10:53 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.