-
Problem report
-
Resolution: Unresolved
-
Trivial
-
7.0.11
-
None
-
Sprint candidates
-
0.125
Create HTTP agent item with HTTP authentication Basic while User name and Password is using macro:
The log level 5 will indicate UNKNOWN:
1095572:20250416:070802.056 In substitute_simple_macros_impl() data:'{$USER}' 1095572:20250416:070802.056 In um_cache_resolve() macro:'{$USER}' 1095572:20250416:070802.056 End of um_cache_resolve(): dedicatedUser 1095572:20250416:070802.056 End substitute_simple_macros_impl() data:'dedicatedUser' 1095572:20250416:070802.056 In substitute_simple_macros_impl() data:'{$PASS}' 1095572:20250416:070802.056 In um_cache_resolve() macro:'{$PASS}' 1095572:20250416:070802.056 End of um_cache_resolve(): *UNKNOWN* 1095572:20250416:070802.056 End substitute_simple_macros_impl() data:'secretPassword' 1095572:20250416:070802.056 End of zbx_prepare_items()
While the password is in plain text the log looks:
1095572:20250416:070701.055 In substitute_simple_macros_impl() data:'{$USER}' 1095572:20250416:070701.055 In um_cache_resolve() macro:'{$USER}' 1095572:20250416:070701.055 End of um_cache_resolve(): dedicatedUser 1095572:20250416:070701.055 End substitute_simple_macros_impl() data:'dedicatedUser' 1095572:20250416:070701.055 In substitute_simple_macros_impl() data:'{$PASS}' 1095572:20250416:070701.055 In um_cache_resolve() macro:'{$PASS}' 1095572:20250416:070701.055 End of um_cache_resolve(): secretPassword 1095572:20250416:070701.055 End substitute_simple_macros_impl() data:'secretPassword' 1095572:20250416:070701.055 End of zbx_prepare_items()
- caused by
-
ZBXNEXT-7553 Create user macro resolver to reduce configuration cache locks
-
- Closed
-