Support Usermacro in foreach function tag filter

XMLWordPrintable

    • Type: New Feature Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Hi Zabbix Team, 
      we would like to use Usermacros in calculated item while using foreach_functions:

      for example:
      current working:
      count(exists_foreach(/*/device.status?[tag="device_type:Router" and tag="country:US"]))

      we want to use the Usermacro {$COUNTRY} like:
      {$COUNTRY} = "US"
      count(exists_foreach(/*/device.status?[tag="device_type:Router" and tag="country:\{$COUNTRY}"]))

      if this is to complicated it would also be nice to build something like:
      {$COUNTRY} = "country:US"
      count(exists_foreach(/*/device.status?[tag="device_type:Router" and tag="\{$COUNTRY}"]))

            Assignee:
            Unassigned
            Reporter:
            S K
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: