Discovering IIS Application pools

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2011 02:37 PM
I have been working on discovering application pools running on IIS servers using these Process Classification settings:
Name: Application Pool
Table: Web Service (cmdb_ci_web_service)
Relation Type: Runs on::Runs
Match Criteria: any
On Classification Script:
var computerName = g_sensor.deviceGR.name;
//Find application pool name using command parameters
var matches = parameters.match('(\"([^"]+)\")');
if (matches)
var appPool = matches[2];
current.name = appPool + "@" + computerName;
Classification Criteria: name equals w3wp.exe
---------------
This is working great for a many-to-many relationship, but I would like to make it a one-to-many relationship. This way we can look at a single web service listed and see the servers running it.
How can we get the classification to add additional relationships as opposed to creating a new entry?
- Labels:
-
Discovery
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2011 01:53 PM
I'm assuming you're creating applications based on the application pools processes because you want Discovery to automatically map the TCP connections?
What if there was a way to allow the parent IIS application to automatically map to the other CIs that application pools talk to? the only caveat is that you won't be able to see the individual application pools? Would that be acceptable? I ask because I've had other customers asking for similar things and they had expressed that they did NOT care about the individual application pools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2016 12:53 PM
Hello,
Where can the discovered application pool records fit in the ServiceNow CMDB?
Regards,
Raj