-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.1
-
Sprint 66 (Jul 2020)
-
0.125
API history.get request doesn't work if limit is not specified or specified limit is greater then CElasticsearchHelper::MAX_RESULT_WINDOW.
Steps to reproduce:
- Setup Zabbix with Elasticsearch backend;
- Store some item values in ES;
- Make API request for particular item without "limit" argument.
{ "output": "extend", "itemids": "31126" }
Result:
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/zabbix/ui/include/classes/helpers/CElasticsearchHelper.php on line 58 Warning: file_get_contents(http://_search/scroll): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/zabbix/ui/include/classes/helpers/CElasticsearchHelper.php on line 58