Replace macro with corresponding value dynamically

XMLWordPrintable

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

      A discovery rule creates an item for each file in a directory with a name like 00000034B4A5.
      I wanted to override the item name by using a host macro, so I created:

      {$SENSOR_00000034B4A5} = "Temperature Sensor 1"

      Then, in the item name, I tried to use an LLD macro like this:

      {$SENSOR_{#SENSORID}}

      However, Zabbix does not resolve the macro dynamically. It displays the string {}{$SENSOR_00000034B4A5}{}.

            Assignee:
            Unassigned
            Reporter:
            Dmitry Migunov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: