Ad Widget

Collapse

Template Import Failed - Zabbix 6.0.2 Last Version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • setorti
    Junior Member
    • Mar 2022
    • 2

    #1

    Template Import Failed - Zabbix 6.0.2 Last Version


    Good afternoon, Through the interface when trying to import a template the same is never imported, it stays in the import state. When inspecting the element the console shows the following error.

    VM28:96 POST http://****/zabbix.php?action=popup.import&output=ajax 500 (Internal Server Error)
    submitImportPopup @ VM28:96
    submitImportComparePopup @ VM98:20
    eval @ VM96:3
    (anônimo) @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:20670
    dispatch @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:5432
    elemData.handle @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:5236
    VM117:1 Uncaught (in promise) SyntaxError: Unexpected end of JSON input
    at <anonymous>:100:31
    (anônimo) @ VM28:100
    Promise.then (assíncrono)
    submitImportPopup @ VM28:101
    submitImportComparePopup @ VM98:20
    eval @ VM96:3
    (anônimo) @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:20670
    dispatch @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:5432
    elemData.handle @ jsLoader.php?ver=6.0.2&lang=pt_BR&showGuiMessaging =1:5236



    I would like help to resolve this issue.

    Thanks
  • setorti
    Junior Member
    • Mar 2022
    • 2

    #2
    Print for better view.

    Click image for larger version

Name:	error.png
Views:	1277
Size:	19.3 KB
ID:	442354

    Thanks for your help!

    Comment

    • ictsunimaas
      Junior Member
      • Apr 2022
      • 2

      #3
      We're having the same issue, I've not seen any relevant log entries in the zabbix_server.log.

      Comment

      • ictsunimaas
        Junior Member
        • Apr 2022
        • 2

        #4
        I think I just solved the issue, I've managed to update the templates and I did not get the error.

        I've increased the PHP 'memory_limit' to 256M (was 128M) and the 'upload_max_filesize' to 16M (was 2M). These values differ from the official documentation: https://www.zabbix.com/documentation...ation/frontend

        But the import succeeded now!

        Comment

        Working...