-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Trivial
-
Affects Version/s: 4.4.3
-
Component/s: Proxy (P), Server (S)
-
Environment:CentOS 7.7.1908
Zabbix 4.4.3
Percona Server for MySQL 5.7.28-31
-
Sprint 59 (Dec 2019), Sprint 60 (Jan 2020)
-
1
Steps to reproduce:
- Create item with JSON document data (e.g. wmi.getall["root\virtualization\v2","SELECT ElementName,Name,ProcessID,HealthState,NumberOfNumaNodes,OnTimeInMilliseconds,OperationalStatus,ReplicationHealth,ReplicationMode,ReplicationState FROM msvm_computersystem WHERE Caption = 'Virtual Machine'"]
- Create dependent item with preprocessing step with JSONPath contains .first().first() methods (e.g. $.[?(@.ElementName == "VMNAME")].OperationalStatus.first().first()
Result:
Because of OperationalStatus is a list we need to use double .first() to retrieve value. But Zabbix Server crashes while extracting it. Trace log attached.