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

Macros HOST.ID and ITEM.ID not expanded in external checks

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.2.0, 5.2.1
    • Server (S)

      Background

      I have been seeing this issue since version 3 I believe, so this is not directly tied to version 5.2, however it was never resolved.

      HOST.ID and/or ITEM.ID macros are not being expanded when calling external check script, on contrast, HOST.NAME does resolve properly.

      Steps to reproduce:

      1. Create item of time external check in any host
      2. Pass arguments {HOST.ID} or {ITEM.ID} to script
      3. Also pass {HOST.NAME} to validate expansion

      Result:

      Host.ID and ITEM.ID doesnt get expanded and they are sent as is.

      Expected:
      HOST.ID and ITEM.ID should have been expanded with proper data.

        1. snap1629.png
          7 kB
          Christian Reizlein

            igorbach Igor Gorbach
            creizlein Christian Reizlein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: