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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.2
    • Fix Version/s: None
    • Component/s: Frontend (F)

      Description

      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>
      

        Attachments

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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: