-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
7.0.8, 7.2.2
-
None
Steps to reproduce:
- Create host with usermacro {$SETTINGS} with some value - for example "init"
- Create Script type Item with parameters "vstup" and value "{$SETTINGS}" and 10sec update interval
- Insert Javascript: return value
- Create javascript preprocessing step with parameters: return "prep: " + '{$SETTINGS}' + " value: " + value;
- value in latest data will be like :
prep: init value: {"vstup":"init"} - Change macro value of {$SETTINGS} macro to something else - "change"
Result:
result on Zabbix version 7.0.8 or 7.2.2 will be :
prep: init value: {"vstup":"change"}
Expected:
but correct result is:
prep: change value: {"vstup":"change"}
It works correctly in Zabbix 6.4.
The change of macro is reflected in preprocessing only after change of item ( disable/enable or preprocessing script change)
Zabbix Host Export for testing is in appended file
- duplicates
-
ZBX-25568 Preprocessing script cache is not invalidated after macro changes
- Closed