[ZBX-6612] When import an image its size checking is broken. Created: 2013 May 17 Updated: 2017 May 30 Resolved: 2013 May 23 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.6 |
Fix Version/s: | 2.0.7, 2.1.0 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Oleg Ivanivskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | appliance, images, import | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
VMware Zabbix 2.0.6 applience downloaded from zabbix.com |
Attachments: | Zabbix 2.0.6 Appliance_ Configuration of images.jpg |
Description |
1) if jpg or png file size is less than 1 MB and 1 000 000 in bytes file upload succeeds. |
Comments |
Comment by Eduards Samersovs (Inactive) [ 2013 May 23 ] |
In official Zabbix vmware appliance mysql configuration variable "max_allowed_packet" is 1M. This is equal with Frontend file limit 1M. But seems is too small for us, because this size is for total query, but not only for file itself. I think this variable in mysql configuration should be increased. |
Comment by Oleg Ivanivskyi [ 2013 May 23 ] |
MySQL 5.1.69. Increasing the "max allowed packet" variable solved this problem (file upload succeeds). |
Comment by Martins Valkovskis [ 2013 May 23 ] |
A note regarding the max_allowed_packet value added to: https://www.zabbix.com/documentation/2.0/manual/web_interface/frontend_sections/administration/general#images <richlv> i also linked to mysql docs for version 5.5 about this param <sasha> CLOSED |
Comment by richlv [ 2013 May 23 ] |
thanks for spotting this. max_allowed_packet will be increased to 2mb for 2.0.7 appliance build |