Ad Widget

Collapse

Issue with {ITEM.VALUE}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Manuel Deschambault
    Junior Member
    • Jan 2026
    • 14

    #1

    Issue with {ITEM.VALUE}

    Zabbix 7.4 in Almalinux 9

    I have an item that return a device name as a string in SNMP.

    I have a dependent item that will extract the room name from the device name

    I want to create a tag that will have that room name as the value, according to the documention, I should be able to create a tag for the dependent item (i.e. NameOfRoom) with a value of {ITEM.VALUE}. This does not work however.

    My dependent item does extract the name of the room from the device name (.i.e Atrium), but then my NameOfRoom tag value shows {ITEM.VALUE} instead of resolving to "Atrium".

    Any ideas, are custom tag values limited to certain item classes (i.e. not available to dependent items?)
  • hrrapozo
    Junior Member
    • Nov 2025
    • 7

    #2
    I tend to use the inventory (with Manual option) within a Host. As far as macros go you can use:
    • {INVENTORY.LOCATION} - It is a multi line box, I can't remember the syntax to say you if just want the first line but it is doable
    • {INVENTORY.LOCATION.LAT} - for GPS Latitude
    • {INVENTORY.LOCATION.LON} - for GPS Longitude
    When you use them in the Top host widget you need to specify Text in the Data dropdown as opposed to Item value.

    Comment

    • Manuel Deschambault
      Junior Member
      • Jan 2026
      • 14

      #3
      So I have set the "Location" inventory field to hold my RoomName dependent item, and that populates fine. But when I then try to create a tag for my host: "NameOfRoom" with a value of "{INVENTORY.LOCATION}}, it does not resolve, the value of my tags remains: INVENTORY.LOCATION}

      I don't understand what you mean with "When you use them in the Top host widget you need to specify Text in the Data dropdown as opposed to Item value."

      Comment

      Working...