Ad Widget

Collapse

Import template failed from old zabbix version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doxymoron
    Junior Member
    • Jul 2023
    • 2

    #1

    Import template failed from old zabbix version

    I'm trying to import templates and hosts from an old version of zabbix 4.0.44 to 6.4.0. If I try to import a template I get the error:

    Details Import failed
    Invalid parameter "/24/trapper_hosts": value must be empty.​

    I'm trying to find the easiest way to import all of my current hosts/templates/graphs rather than creating from scratch. Thanks.
  • solution
    Senior Member
    • Jun 2020
    • 269

    #2
    follow these tips:



    Wellington

    Comment

    • doxymoron
      Junior Member
      • Jul 2023
      • 2

      #3
      So I just edit the export file and comment out these lines?

      <request_method>0</request_method>

      Comment

      • solution
        Senior Member
        • Jun 2020
        • 269

        #4
        in your case it would be:
        trapper_hosts

        included in your error message

        Wellington​

        Comment

        • Jhoanor
          Junior Member
          • May 2022
          • 4

          #5
          No, you will not find "trapper_hosts" in your export.
          The lines you should delete are:
          <allowed_hosts>localhost</allowed_hosts>
          (This worked with me at this error anyhow)

          Comment

          Working...