[ZBX-9090] Documentation states that "A parameter must be given for functions which ignore it" Created: 2014 Nov 30  Updated: 2017 May 30  Resolved: 2015 Jan 06

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

Type: Incident report Priority: Minor
Reporter: Marc Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: triggerfunctions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Due to ZBX-6883 there should actually no placeholder necessary anymore, when a function does not need a parameter.

Could be also worth to think about changing foo(0) to foo() for all examples found in the documentation (list may not be complete):

https://www.zabbix.com/documentation/2.4/manual/appendix/triggers/functions
https://www.zabbix.com/documentation/2.4/manual/config/triggers/expression
https://www.zabbix.com/documentation/2.4/manual/config/macros/usermacros
https://www.zabbix.com/documentation/2.4/manual/config/triggers/suffixes
https://www.zabbix.com/documentation/2.4/manual/appendix/macros/supported_by_location
https://www.zabbix.com/documentation/2.4/manual/xml_export_import/hosts
https://www.zabbix.com/documentation/2.4/manual/api/reference/configuration/export
https://www.zabbix.com/documentation/2.4/manual/api/reference/configuration/import
...



 Comments   
Comment by Martins Valkovskis [ 2014 Dec 03 ]

Thanks for pointing this out. It turns out that documentation was not fully updated when the issue was developed.

The statement of "A parameter must be given for functions which ignore it" is now removed from documentation starting with the 2.2 version. Similarly, usage examples updated. There may be some indications yet in the screenshots, but that will be updated some other time, before the next major version release. RESOLVED.

sasha Great work! I also fixed some pages. Please take a look.

RESOLVED

martins-v Looking good. CLOSED.

Generated at Fri Apr 26 02:45:22 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.