I realize this is similar to another post I made recently, but I will try anyway as I recognize now that I can't use the LLD Service Macro in a user-defined trigger. So what I am trying to figure out is how can I capture a Service Startup type in a user-defined MACRO? I can not seem to find the correct collection of fields to gather that information. Does anyone else know?
What I am doing is defining specific Windows Services to monitor with specific priorities (vs. the LLD which sets all discovered services at the same priority), but we still want the startup type so we can ignore it if it is disabled. But there is no {ITEM.STARTUPTYPE} or similar that I can find in the predefined MACROS and I am having trouble figuring out how to make my own user-defined MACRO that includes this information. Any help is appreciated.
What I am doing is defining specific Windows Services to monitor with specific priorities (vs. the LLD which sets all discovered services at the same priority), but we still want the startup type so we can ignore it if it is disabled. But there is no {ITEM.STARTUPTYPE} or similar that I can find in the predefined MACROS and I am having trouble figuring out how to make my own user-defined MACRO that includes this information. Any help is appreciated.