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

Cannot full clone a host with a trigger prototype that uses web items

    XMLWordPrintable

    Details

      Description

      I've created a host and a web scenario for it. After that I've added a discovery rule with a trigger prototype, that contains a prototype item and a web item in the expression. When I try to full clone the host, I get the following error:

      Incorrect item key "web-host2-clone1:web.test.fail[dd]" provided for trigger expression.
      Cannot implode expression "

      {web-host2-clone1:web.test.fail[dd].last(0)}

      =0&

      {web-host2-clone1:lld-item1.last(0)}

      =0". [CDiscoveryRule.copy -> CDiscoveryRule.copyDiscoveryRule -> CDiscoveryRule.copyDiscoveryTriggers -> CTriggerPrototype.create -> CTriggerPrototype.createReal]

      Trigger prototypes with web items should not be cloned.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: