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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: