-
Documentation task
-
Resolution: Fixed
-
Trivial
-
6.0.0alpha7
-
None
-
Sprint 84 (Jan 2022), Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022), Sprint 88 (May 2022)
-
1
This was originally reported via Typo report form. Transforming into ZBX:
As per documentation "Parameters specify the variables to be passed to the script as the attribute and value pairs.
Built-in macros {HOST.CONN}, {HOST.DNS}, {HOST.HOST}, {HOST.IP}, {HOST.NAME}, {ITEM.ID}, {ITEM.KEY}, {ITEM.KEY.ORIG} and user macros are supported."
User's comment: I give a try in the parameters, but it did not work. Just define a parameter and return it in the code:
parameter cong 48
Script return cong
this give an error saying cong is not defined. Please include an example, may be as simple as this one