-
Type:
Problem report
-
Resolution: Fixed
-
Priority:
Major
-
None
-
Affects Version/s: 6.0.19
-
Component/s: Templates (T)
-
None
-
Environment:AWS EC2 (over 100 instances), EBS volumes (over 500)
Steps to reproduce:
- Download template AWS EC2 by HTTP
- Create API Key/secret in AWS, setup permissions
- Configure host in Zabbix (required macros)
Result:
Result converted to text: {"error":"TypeError: cannot read property 'item' of null."}
**

Expected:
Returned list of EBS volumes

Solution:
{}Remove this line from JavaScript:
{{}}
payload['MaxResults'] = 100,
By tests: AWS API is getting first 100 volumes, after this is applying filter on this result