Ad Widget

Collapse

Importing Host.xml from 1.8.2 to 1.8.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ricamz
    Junior Member
    • May 2010
    • 15

    #1

    Importing Host.xml from 1.8.2 to 1.8.3

    Hi there.

    The export from 1.8.2 and import from 1.8.3 doesn't work.

    I can export from 1.8.2 and the xml has the hosts, items and triggers, but the import doesn't work and doesn't give me any error.

    In 1.8.3 when I export the zabbix server it gives me an empty file.

    In the logs no errors.

    Any ideas of what could be happening?

    Thanks,

    Ricardo
  • Peteris
    Member
    • Feb 2010
    • 89

    #2
    If your export action results in empty file check if you have php-xml installed.

    On CentOS x64 package name: php-xml.x86_64

    Comment

    • ricamz
      Junior Member
      • May 2010
      • 15

      #3
      Thanks, but I installed php-xml and still no results ...

      When I export from 1.8.3 (Zabbix server, which is the only one in the database) it comes empty.

      When I import the 1.8.2 exported file it gives me an empty screen. No error in zabbix_server.log.

      Any other ideas?

      Comment

      • ricamz
        Junior Member
        • May 2010
        • 15

        #4
        Solved.

        Actually was very simple.

        Set these variables in php.ini:

        max_execution_time = 300
        post_max_size = 20M
        upload_max_filesize = 20M

        The faulting one was upload_max_filesize ......

        A good thing was some information that hosts were being imported, dots or a progress bar would be nice...

        Thanks.

        Comment

        • dovka
          Junior Member
          • Nov 2010
          • 6

          #5
          PHP.ini file_uploads

          Also php.ini parameter file_uploads = On is a must

          Comment

          Working...