Ad Widget

Collapse

API - Map Host Item to Template item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • artrune
    Junior Member
    • Aug 2020
    • 16

    #1

    API - Map Host Item to Template item

    I'm trying to find a way to map a specific host item to the item it comes from (The template) I originally had the approach of checking the item keys in the templates that the host is a member of and I can do the mapping like that, no problem.

    The issue I have with that approach is that the item prototype keys are not the same in the templates and in the specific host item.

    Is there a specific way to get an item parent (The item in the template) or a pointer that points a specific item to its parent template?
  • artrune
    Junior Member
    • Aug 2020
    • 16

    #2
    My ultimate goal is to store metadata related to the parent item (And have it propagate to the instance items, the actual metrics in hosts) but there doesn't seem to be a place other than description to store it, and using the description is not an option.
    being able to map them solves the issue because then i can store my data wherever i like as long as i have a mapping.

    Comment

    • artrune
      Junior Member
      • Aug 2020
      • 16

      #3
      Anyone with any clues of this?

      Comment

      • artrune
        Junior Member
        • Aug 2020
        • 16

        #4
        Still haven't found a way and would probably use any insight from anyone! thanks.

        Comment

        Working...