Ad Widget

Collapse

Macro Expression in Map Labels.. What am I doing wrong?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmeany80
    Junior Member
    • May 2025
    • 1

    #1

    Macro Expression in Map Labels.. What am I doing wrong?

    Hey, I'm trying to add a macro expression to a host element label on a map that looks like this:

    {?last(/{HOST.HOST}/host.item.key.im.looking.for)}

    When I go to save the element, zabbix tells me it can't expand the macro and won't save it. Is there something wrong with my syntax here? obviously, the item key I specified exists as an item in the host being referenced.

    I also tried {?last(//host.item.key.im.looking.for)} and directly specifying the name of the host: {?last(/host/host.item.key.im.looking.for)}, neither of which worked.
Working...