Ad Widget

Collapse

Template xml in raw ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alientm
    Member
    • Aug 2014
    • 51

    #1

    Template xml in raw ?

    I want to use this example:


    but I do not see the possibility of downloading the raw xml format?
    how to convert the file to the raw?
  • evertonco
    Member
    • Aug 2014
    • 75

    #2
    Did you download this xml file (https://www.zabbix.com/wiki/_media/t...0_template.xml), imported it and not works?

    Comment

    • alientm
      Member
      • Aug 2014
      • 51

      #3
      Yes. A try "save file as..."

      But can't import file, errors:

      Created: Item "Port 1 Traffic IN Errors" on "Template_3COM_4200".
      ...
      Created: Trigger "Port 28 on {HOSTNAME} Status Change" on "Template_3COM_4200".
      Item "{HOSTNAME}:ifInOctects.103" does not exist.

      Maybe the problem is in the version of zabbix, I use the current 2.2
      Last edited by alientm; 18-11-2014, 09:28.

      Comment

      • evertonco
        Member
        • Aug 2014
        • 75

        #4
        Created: Item "Port 1 Traffic IN Errors" on "Template_3COM_4200".
        ...
        Created: Trigger "Port 28 on {HOSTNAME} Status Change" on "Template_3COM_4200".
        Item "{HOSTNAME}:ifInOctects.103" does not exist.
        Looking above message, I suppose it is not a exported template. This is a exported host.

        I confirmed this by looking into file content:

        <zabbix_export version="1.0" date="14.09.09" time="11.51">
        <hosts>
        <host name="Template_3COM_4200">
        <ip>0.0.0.0</ip>
        <port>10050</port>
        <status>3</status>

        <groups>
        <group>Templates</group>
        </groups>
        <items>
        <item type="4" key="ifInErrors.101" value_type="3">
        <description>Port 1 Traffic IN Errors</description>
        ...
        Furthermore, it seems outdated (version 1.0).

        Comment

        Working...