Ad Widget

Collapse

can't update dependencies via xml

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahiya
    Junior Member
    • Aug 2021
    • 4

    #1

    can't update dependencies via xml

    hello community

    currently, I'm creating new groups and hosts using XML import.
    all hosts are attached to preconfigured Templated (including items and triggers).
    I'm trying to create the dependencies as well via the XML import, but with no success.
    I'm keeping getting the below error:
    Code:
    Cannot update "description" for templated trigger "Unavailable by ICMP ping".
    it seems that because I'm using templates I cant update the triggers.
    is that correct?
    can I work around it somehow?

    below is my XML file.

    my zabbix server ver -5.0.7
    proxy ver - :5.0.10

    appreciate any help\tips

    thanks


    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <zabbix_export>
    <version>5.0</version>
    <date>2021-08-16T08:59:50Z</date>
    <hosts>
    <host>
    <host>rivi_sw06</host>
    <name>rivi_sw06</name>
    <proxy>
    <name>rivington-proxy</name>
    </proxy>
    <status>DISABLED</status>
    <templates>
    <template>
    <name>Template SW ICMP Ping</name>
    </template>
    </templates>
    <groups>
    <group>
    <name>Rivington-BB-SW-FW</name>
    </group>
    </groups>
    <interfaces>
    <interface>
    <type>SNMP</type>
    <ip>172.18.125.205</ip>
    <port>161</port>
    <details>
    <version>SNMPV1</version>
    <community>younity</community>
    </details>
    <interface_ref>if1</interface_ref>
    </interface>
    </interfaces>
    <inventory_mode>DISABLED</inventory_mode>
    </host>
    <host>
    <host>rivi_hap07u703</host>
    <name>rivi_hap07u703</name>
    <proxy>
    <name>rivington-proxy</name>
    </proxy>
    <status>DISABLED</status>
    <templates>
    <template>
    <name>Template AP ICMP Ping</name>
    </template>
    </templates>
    <groups>
    <group>
    <name>Rivington-WIN-AP</name>
    </group>
    </groups>
    <interfaces>
    <interface>
    <type>SNMP</type>
    <ip>172.18.125.223</ip>
    <port>161</port>
    <details>
    <version>SNMPV1</version>
    <community>younity</community>
    </details>
    <interface_ref>if1</interface_ref>
    </interface>
    </interfaces>
    <inventory_mode>DISABLED</inventory_mode>
    </host>
    </hosts>
    <triggers>
    <trigger>
    <expression>{rivi_hap07u703:icmpping.max(#6)}=0</expression>
    <name>Unavailable by ICMP ping</name>
    <description></description>
    <priority>HIGH</priority>
    <dependencies>
    <dependency>
    <name>SW Just Load</name>
    <expression>{rivi_sw06:icmpping.min(#6)}=0</expression>
    </dependency>
    </dependencies>
    </trigger>
    </triggers>
    </zabbix_export>
  • ahiya
    Junior Member
    • Aug 2021
    • 4

    #2
    any thoughts?

    Comment

    Working...