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:
When i import the xml file, all items are still shown in the "- other -" section
What do i do wrong?
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>
What do i do wrong?

