Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10749

Full Template clone doesn't clone prototype trigger dependencies

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.2
    • Frontend (F)

      When performing a full clone of a template with discovery items that have trigger prototypes with prototype dependencies, those dependencies don't get cloned.

      Below from the template export.

                          <trigger_prototypes>
                              <trigger_prototype>
                                  <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;1</expression>
                                  <name>Free disk space is less than 1% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>5</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies>
                                      <dependency>
                                          <name>Free disk space is less than 3% on volume {#FSNAME}</name>
                                          <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;3</expression>
                                      </dependency>
                                  </dependencies>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;3</expression>
                                  <name>Free disk space is less than 3% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>4</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies>
                                      <dependency>
                                          <name>Free disk space is less than 5% on volume {#FSNAME}</name>
                                          <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;5</expression>
                                      </dependency>
                                  </dependencies>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;5</expression>
                                  <name>Free disk space is less than 5% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>3</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies>
                                      <dependency>
                                          <name>Free disk space is less than 10% on volume {#FSNAME}</name>
                                          <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;10</expression>
                                      </dependency>
                                  </dependencies>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;10</expression>
                                  <name>Free disk space is less than 10% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>2</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies/>
                              </trigger_prototype>
                          </trigger_prototypes>
      
                          <trigger_prototypes>
                              <trigger_prototype>
                                  <expression>{Template OS Linux - CLONE:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;1</expression>
                                  <name>Free disk space is less than 1% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>5</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies/>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux - CLONE:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;3</expression>
                                  <name>Free disk space is less than 3% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>4</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies/>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux - CLONE:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;5</expression>
                                  <name>Free disk space is less than 5% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>3</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies/>
                              </trigger_prototype>
                              <trigger_prototype>
                                  <expression>{Template OS Linux - CLONE:vfs.fs.size[{#FSNAME},pfree].last(0)}&lt;10</expression>
                                  <name>Free disk space is less than 10% on volume {#FSNAME}</name>
                                  <url/>
                                  <status>0</status>
                                  <priority>2</priority>
                                  <description/>
                                  <type>0</type>
                                  <dependencies/>
                              </trigger_prototype>
                          </trigger_prototypes>
      

        1. ZBX-1.PNG
          31 kB
          Andrew Twemlow
        2. ZBX-2.PNG
          24 kB
          Andrew Twemlow

            Unassigned Unassigned
            twem Andrew Twemlow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: