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

{ITEM.NAME<1-9>} and {ITEM.KEY<1-9>} resolve to *UNKNOWN*

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.2.0alpha2, 5.2 (plan)
    • 5.2.0alpha1
    • Server (S)
    • None
    • Sprint 67 (Aug 2020)
    • 0.5

      Steps to reproduce:

      1. create fresh database
      2. create host
        1. Host name = test
        2. Groups = Zabbix Servers
      3. create item
        1. Name = test
        2. Type = Zabbix trapper
        3. Key = test
        4. Type of information = Numeric (unsigned)
      4. create trigger
        1. Name = test
        2. expression = {test:test.last()}<>0
      5. create action
        1. Name = test
        2. Operation type = Remote command
        3. Target list = Current host
        4. Execute on = Zabbix server
        5. Commands = echo '{ITEM.NAME1}' '{ITEM.KEY1}'
      6. start zabbix server
      7. zabbix_sender --zabbix-server '127.0.0.1' --host 'test' --key 'test' --value 1
      8. open list of problems, open new problem, see "Message/Command"

      Result:
      Zabbix server:echo '*UNKNOWN*' '*UNKNOWN*'

      Expected:
      Zabbix server:echo 'test' 'test'

            viktors.tjarve Viktors Tjarve
            asitals Andrejs Sitals (Inactive)
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: