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

Quotation marks absent in triggerns section when exporting Template with Web Scenario

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't fix
    • Affects Version/s: 3.2.3, 3.4.9rc3
    • Fix Version/s: None
    • Component/s: Documentation (D)
    • Labels:
    • Environment:
      Ubuntu 16.04.1 LTS
      zabbix_server (Zabbix) 3.2.3
      Revision 64610 21 December 2016, compilation time: Dec 21 2016 14:09:47

      Description

      To reproduce:
      1) Create web scenario with some tests in it.
      2) Export it and try to import it.

      Expected results:

      • import will succeed

      Actual results:
      Import will fail with error message:
      Incorrect item key "web.test.fail[mysite.com]" provided for trigger expression on "Zabbix server".

      Explanation:
      Error happens due to missing single quotation mark ' in the .xml

      Actual:
      <expression>{Zabbix server:web.test.fail[mysite.com].min(5m)}<>0</expression>

      Correct:
      <expression>{Zabbix server:web.test.fail['mysite.com'].min(5m)}<>0</expression>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                teplodot Denis
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: