-
Problem report
-
Resolution: Fixed
-
Minor
-
3.4.11, 4.0.0alpha8
-
"zabbix appliance image (Ubuntu)" on HyperV
/usr/sbin/zabbix_server --version
zabbix_server (Zabbix) 3.4.2
Revision 72885 25 September 2017, compilation time: Sep 26 2017 11:11:28
-
Sprint 37
-
0.125
Steps to reproduce:
- Have some process discovery and item prototypes for monitoring memory usage
- Have a macro {$PROC_MAX_MEMORY:someProcessName} with value '1G'
- Have some trigger(prototype) using an expression containing the context-macro ie. '{discovered item} > {$PROC_MAX_MEMORY:"{#PROCNAME}"}'
- Change the amount of allowed memoryUsage and make some typo by changing the value to '1GG'
I didn't test these exact steps, but I came across this problem. suddenly zabbix_server crashed and after restart it immediately crashes again. After thinking and double-checking the changes I made, and the 'DCexpression_expand_user_macros' in the backtrace, I noticed this typo. Removing the double 'G' fixed the issue, the server started again without issues.
Result:
zabbix_server crashes
See backtrace (attachment)
Expected:
Some 'Not Supported' state with some indication there is an issue with a trigger expression
- caused by
-
ZBXNEXT-3659 More efficient sync of configuration cache
- Closed
-
ZBXNEXT-3210 Replace user macro cache with caching expanded trigger expressions
- Closed