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

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 3.2.3, 3.4.9rc3
    • Component/s: Documentation (D)
    • 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

      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>

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

              Created:
              Updated:
              Resolved: