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

Cant compare string latest data with Host Macro

    Details

    • Type: Patch request
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.2.10
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:

      Description

      I have an external script that returns a string with IP address.

      Seems to me that ZABBIX cant compare in a trigger expression the string using {HOST.IP} macro. Ex:

      {host:dns_check.sh[{HOST.DNS}].str({HOST.IP})}=0
      

      The trigger fires even if "dns_check.sh[{HOST.DNS}]" and {HOST.IP} are equal.

      Can you help me?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rcaldas Ricardo Caldas Santos
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: