When importing a host Templates are removed, they should be kept

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Server (S)
    • Environment:
      Centos

      I'm trying to import an macro to a host named "NAME" with next .xml file:

      <zabbix_export version="1.0" date="08.11.11" time="07.59">
      <hosts>
      <host name="NAME">
      <proxy_hostid>0</proxy_hostid>
      <useip>1</useip>
      <dns></dns>
      <ip>10.188.4.33</ip>
      <port>10050</port>
      <status>0</status>
      <useipmi>0</useipmi>
      <ipmi_ip></ipmi_ip>
      <ipmi_port>623</ipmi_port>
      <ipmi_authtype>0</ipmi_authtype>
      <ipmi_privilege>2</ipmi_privilege>
      <ipmi_username></ipmi_username>
      <ipmi_password></ipmi_password>
      <groups>
      <group>Zabbix servers</group>
      </groups>
      <triggers>
      </triggers>
      <items>
      </items>
      <templates>
      </templates>
      <graphs/>
      <macros>
      <macro>
      <value>MYVALUE</value>
      <name>{$MYMACRO}</name>
      </macro>
      </macros>
      </host>
      </hosts>
      <dependencies>
      </dependencies>
      </zabbix_export>

      when I import the host, templates linked to that hosts are removed, but all other things (items, triggers) are kept

      I think this is a bug, maybe it can be intentional ?

      Thank you very much

            Assignee:
            Unassigned
            Reporter:
            Javier Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: