This is probably ignorance on my end, but I'm wanting to generate a list based off a Discovery rule I created.
I'm trying to monitor Virtual Apps in IIS. I want to know which Virtual Apps are running on a particular Web Server.
Since these apps are nested under a single Application Pool & App, they are technically Sites\Apps within that App, which means the standard IIS Template doesn't pull that Data.
Application Pool
> Application
>> VirtualApp\Site 1
>> VirtualApp\Site 2
>> VirtualApp\Site 3
I've created a new Discovery Rule that does pull the list based on this key: wmi.getall[root\webAdministration, select ApplicationPath from AppDomain]
I've created some LLD Macros: {#VIRTUALAPP} > $.ApplicationPath
With a bit of pre-processing filters here is the test result: [{"VirtualApp":"Site1"},{"VirtualApp":"Site2"},{ "Vi rtualApp": "Site3"}]
I'd like to create what amounts to a placeholder key and just pass the Macro to generate a list of Sites pulled from the Discovery. So when I look up a Host and pull Latest Data I get something like the following, assuming in this example the Item Prototype is called "IIS:VirtualApp {#VIRTUALAPP}"
Host: Name:
WEBSERVER1 IIS:VirtualApp Site1
WEBSERVER1 IIS:VirtualApp Site2
WEBSERVER1 IIS:VirtualApp Site3
Is this possible? I'm not seeing any standard perf counters, such as state or name that would make creating a typical Item Prototype easier, hence the desire to create a placeholder, if that makes sense.
I'm trying to monitor Virtual Apps in IIS. I want to know which Virtual Apps are running on a particular Web Server.
Since these apps are nested under a single Application Pool & App, they are technically Sites\Apps within that App, which means the standard IIS Template doesn't pull that Data.
Application Pool
> Application
>> VirtualApp\Site 1
>> VirtualApp\Site 2
>> VirtualApp\Site 3
I've created a new Discovery Rule that does pull the list based on this key: wmi.getall[root\webAdministration, select ApplicationPath from AppDomain]
I've created some LLD Macros: {#VIRTUALAPP} > $.ApplicationPath
With a bit of pre-processing filters here is the test result: [{"VirtualApp":"Site1"},{"VirtualApp":"Site2"},{ "Vi rtualApp": "Site3"}]
I'd like to create what amounts to a placeholder key and just pass the Macro to generate a list of Sites pulled from the Discovery. So when I look up a Host and pull Latest Data I get something like the following, assuming in this example the Item Prototype is called "IIS:VirtualApp {#VIRTUALAPP}"
Host: Name:
WEBSERVER1 IIS:VirtualApp Site1
WEBSERVER1 IIS:VirtualApp Site2
WEBSERVER1 IIS:VirtualApp Site3
Is this possible? I'm not seeing any standard perf counters, such as state or name that would make creating a typical Item Prototype easier, hence the desire to create a placeholder, if that makes sense.