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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 3.2.3, 3.4.9rc3
    • Documentation (D)
    • 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>

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

              Created:
              Updated:
              Resolved: