Ad Widget

Collapse

LLD Macro equivalents?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steeladept
    Member
    • Sep 2018
    • 69

    #1

    LLD Macro equivalents?

    I am trying to create items and triggers for specific items and allow LLD to find other items of the same type and apply default values to them. As such, I am trying to define them all the same way but they do not. Specifically I am trying to define a item and trigger for several windows services such that they mirror the LLD values.

    So I want something like:

    Service "wuauserv" (Windows Update) is not running (startup type {ITEM.STARTUPNAME})

    where the {ITEM.STARTUPNAME} is the same as the LLD Macro {#SERVICE.STARTUPNAME}.

    Can someone help me define the item appropriately? I tried using the LLD Macro, but that doesn't work since this isn't an LLD rule. I also have been trying to setup ITEM in ways that make sense but so far, STARTUPNAME does not seem to be an identifiable object within a SERVICE ITEM. I am guessing I need to define the ITEM.STARTUPNAME as a user-definable macro, but cannot figure out how to pull in STARTUPNAME as the value in the Template Macro?
Working...