Ad Widget

Collapse

Calculated Items and Macros in Discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johansenfa
    Junior Member
    • Nov 2020
    • 11

    #1

    Calculated Items and Macros in Discovery

    hi all,

    I have an issue using an calculated item-prototype Formula including an Macro.

    Configuration:


    Click image for larger version

Name:	2021-07-08 14_06_38-Zabbix_ Configuration of item prototypes.png
Views:	1135
Size:	18.5 KB
ID:	427818

    Error in Latest data:

    Click image for larger version

Name:	image_19437.png
Views:	1109
Size:	9.9 KB
ID:	427817

    The key is not expanded but displayed as a string.

    Any Ideas how to solve?
    Attached Files
    Last edited by johansenfa; 08-07-2021, 14:12.
  • johansenfa
    Junior Member
    • Nov 2020
    • 11

    #2
    solved it myself. you need to use the full path in the item. For Example:

    Code:
    last(/<hostname>/nsxt.ipblocks.discovery.subnet.max.[{#BLOCK_DISPLAY_NAME}])

    Comment

    Working...