Ad Widget

Collapse

Upload template file size limit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Choczym
    Junior Member
    • May 2022
    • 3

    #1

    Upload template file size limit

    Hello,

    I'm newby in zabbix.

    I have installed zabbix 6, on centos 8, all seems to be OK.

    I have make new xml template file with mib2zabbix and template file is create with no error, the size is over 2mb.

    When i try to import the new template file, zabbix tell me that the file size limit for upload is fixed at 2mb.

    After some research on the web, i try to change the variable "upload_max_filesize" in php.ini, and reboot the server.

    But no luck for me it don't work.

    Someone can help me to solve this problem ?

    Thank you in advance.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Please check the contents of /etc/php-fpm.d/zabbix.conf.

    Comment


    • Atsushi
      Atsushi commented
      Editing a comment
      Check the following file.
      /etc/apache2/conf-enabled/zabbix.conf

    • eDonkey
      eDonkey commented
      Editing a comment
      Do you know what the difference between these two files is?
      - /etc/apache2/conf-enabled/zabbix.conf
      - /etc/zabbix/apache.conf

      As i changed the settings in the latter one and it worked too.
      I'm new to zabbix/apache and i find it to be very confusing - as i've currently seen about 2-3 "zabbix.conf" and "apache.conf" files.

    • Atsushi
      Atsushi commented
      Editing a comment
      The actual file is /etc/zabbix/apache.conf. /etc/apache2/conf-enabled/zabbix.conf is a symbolic link, and if you follow the link, it will be /etc/zabbix/apache.conf. You can check it using the ls -l command.
      Please note that PHP may be called differently depending on the OS distribution and version.
  • Choczym
    Junior Member
    • May 2022
    • 3

    #3
    Thank you Atsushi, after modify the file config, import work correctly.

    Comment

    Working...