Ad Widget

Collapse

Export/import buggy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alpha_one_x86
    Junior Member
    • Jun 2016
    • 11

    #1

    Export/import buggy

    Hi,
    I have exported the default template: "Template ICMP Ping"
    Change the name to "Template ICMP Ping Slow" into the .xml
    Imported, seam not imported.
    Cheer
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Which field in the XML file did you change? Was the expected result to have now two templates with just different names?

    Comment

    • alpha_one_x86
      Junior Member
      • Jun 2016
      • 11

      #3
      zabbix_export -> templates -> template

      Originally posted by ingus.vilnis
      Was the expected result to have now two templates with just different names?
      Yes, and after change the trigger to:
      {Template ICMP Ping Fast:icmppingsec.avg(5m)}>0.5

      Comment

      • ingus.vilnis
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2014
        • 908

        #4
        Did you change both of these fields in the XML file?
        Code:
                    <template>Template ICMP Ping Slow</template>
                    <name>Template ICMP Ping Slow</name>
        I just tried the same operation in Zabbix 4.0.1 and imported the new one successfully.

        By the way, if you just want a duplicate of an existing template with another name, you can use the Full clone feature in the web interface.

        Comment

        • alpha_one_x86
          Junior Member
          • Jun 2016
          • 11

          #5
          Here Zabbix 3.4.13

          When I try create manually the template, item, trigger. The trigger always it create under the old template, not the new cloned template.

          Comment

          Working...