Hello
When i try to export large number of host, or simply too large of an xml file at once from frontend i get
File not found
Firefox can’t find the file at https://***/hosts.php.
Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.
I assume that the front end can only handle about 20Mb file at most, since i edited the zabbix.conf in apache2 but still its the relative maximum before the fronted crashes, tested by simply adding more and more hosts to export. I changed following trying to resolve it:
apache2/zabbix.conf:
<IfModule mod_php7.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 200M
php_value upload_max_filesize 200M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
</IfModule>
i also changed /etc/php/7.0/apache2/php.ini to be sure
; Maximum allowed size for uploaded files.
upload_max_filesize = 200M
max_execution_time = 900 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 512M ; Maximum amount of memory a script may consume
When i try to export large number of host, or simply too large of an xml file at once from frontend i get
File not found
Firefox can’t find the file at https://***/hosts.php.
Check the file name for capitalization or other typing errors.
Check to see if the file was moved, renamed or deleted.
I assume that the front end can only handle about 20Mb file at most, since i edited the zabbix.conf in apache2 but still its the relative maximum before the fronted crashes, tested by simply adding more and more hosts to export. I changed following trying to resolve it:
apache2/zabbix.conf:
<IfModule mod_php7.c>
php_value max_execution_time 300
php_value memory_limit 128M
php_value post_max_size 200M
php_value upload_max_filesize 200M
php_value max_input_time 300
php_value always_populate_raw_post_data -1
</IfModule>
i also changed /etc/php/7.0/apache2/php.ini to be sure
; Maximum allowed size for uploaded files.
upload_max_filesize = 200M
max_execution_time = 900 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 512M ; Maximum amount of memory a script may consume