Ad Widget

Collapse

Import error from 5.2.2 to 7.0.2

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • chg627
    Junior Member
    • Jul 2024
    • 8

    #1

    Import error from 5.2.2 to 7.0.2

    Hi all,

    I was trying to import templates from 5.2.2 to 7.0.2. it works well until the last step, when I click the import button, it showed an error like the image below. I tried google this error message but no useful guide was found. Anyone know how to fix it?
    Click image for larger version

Name:	image.png
Views:	125
Size:	7.5 KB
ID:	494739

    Thanks in advance, Karl.
  • Answer selected by chg627 at 28-11-2024, 09:06.
    Julianna Wilamowska
    Member
    • Oct 2024
    • 34

    The error
    Invalid parameter "/51/host": invalid host name.
    is due to invalid characters in template name. Remove special characters (such as ( and )) and use the visible name field to use a name with special characters.
    Click image for larger version

Name:	Screenshot 2024-11-27 123229.png
Views:	95
Size:	9.0 KB
ID:	494973

    Comment


    • chg627
      chg627 commented
      Editing a comment
      Thanks a lot, that solve the problem.

      So the number "/51" represents template name? How do I find the parameters represented by the other numbers? Like "/1", "/2" or "/15"
  • Julianna Wilamowska
    Member
    • Oct 2024
    • 34

    #2
    The error
    Invalid parameter "/51/host": invalid host name.
    is due to invalid characters in template name. Remove special characters (such as ( and )) and use the visible name field to use a name with special characters.
    Click image for larger version

Name:	Screenshot 2024-11-27 123229.png
Views:	95
Size:	9.0 KB
ID:	494973

    Comment


    • chg627
      chg627 commented
      Editing a comment
      Thanks a lot, that solve the problem.

      So the number "/51" represents template name? How do I find the parameters represented by the other numbers? Like "/1", "/2" or "/15"
  • chg627
    Junior Member
    • Jul 2024
    • 8

    #3
    Ok, I got another number this time:
    Invalid parameter "/5/host"
    Special characters should be removed from all other Parameters not only Template name, is that so?

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #4
      Yes.
      /51 (or /5) does not represent template name, it is somehow related to which occurrence of "host" had issues.. I think.. like.. something like 5th use of host name or something.. I once tracked it in some reason, but dont remember any more..

      Comment

      Working...