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

Macro value expands differently: running item VS test item

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.23
    • Server (S)
    • None

      Macro value is using double quotes at the beginning and end:

      3rd item argument is not using double quotes this time:

      As a result, the item is not working. It prints an error:

      Full item key:

      testdb.odbc.select[test,,"\"Driver=/usr/lib/oracle/19.15/client64/lib/libsqora.so.19.1;DBQ=//10.133.253.44:49161/XE;UID=system;PWD=oracle;\""]

      It is fine if the item is not working. However when clicking on the green link and testing item manually, it is working OK:

      Expectation: The test button must simulate the same behaviour as it is using when running item in production.

            zabbix.dev Zabbix Development Team
            aigars.kadikis Aigars Kadikis
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: