Ad Widget

Collapse

need help with import/export function and applications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #1

    need help with import/export function and applications

    Hi!

    I'm trying to modify the template for HP Procurve switches.
    Therefore i used the import/export function to export the template,
    modify it with a shell script and import it again.

    First of all i couldn't find out, how to make zabbix create a new application via xml import. Is there a way?

    I tried to add all items that don't belong to an application yet to my newly created app called "Portdaten".

    This is the XML part of an item, after it was modified by my script:
    Code:
    <item type="4" key="ifOutOctets7" value_type="0">
    <description>Port 07: Traffic (out)</description>
    <delay>60</delay>
    <history>7</history>
    <trends>365</trends>
    <units>B</units>
    <delta>1</delta>
    <snmp_community>public</snmp_community>
    <snmp_oid>1.3.6.1.2.1.2.2.1.16.7</snmp_oid>
    <snmp_port>161</snmp_port>
    <applications>
    <application>Portdaten</application>
    </applications>
    </item>
    When i import the xml file, all items are still shown in the "- other -" section
    What do i do wrong?
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)
Working...