Get CI Informations during TopDown Discovery

TeeKaypA
Tera Expert

Hi all,

 

Can I access information of specific CI in a discovery pattern? I have to create a connection to a CI, but I don't know on which server this CI is running. However, horizontal discovery has already stored this information in the CMDB and therefore it would be great to get this information. Is there a way to get this informations? Host, Ports etc.

 

Thanks

Thomas

2 ACCEPTED SOLUTIONS

Prabu Velayutha
Mega Sage
Mega Sage

If you know in CMDB table data is located, then try to use the HTTP Get Call operation step to extract data on CI types with using the CMDB instance APIs, hope you can retrieve the data you expect.

Reference Product Document:

https://docs.servicenow.com/bundle/utah-it-operations-management/page/product/service-mapping/task/h...

 

View solution in original post

TeeKaypA
Tera Expert

Hi Guys,

This is the way to go if you need cmdb/ci information during topdown discovery.

Using GlideRecord scripting in Service Mapping Pat... - ServiceNow Community

View solution in original post

15 REPLIES 15

Prabu Velayutha
Mega Sage
Mega Sage
  • CMDB Relationship table can provide all related like hosted applications and Servers, their relationships
  • Are you referring to the application CI? Check the CMDB Running Process table it contains application parameters and listening to and connecting to port and running process hosted computer details

Mark helpful and accept solution, if it works,

Thanks but we have already 200 Application Services for different on prem customers which are all build automatically.

I need to find a way to get information of ci classes during the connection section of a pattern. Every installation looks different and therefore the mapping must work for them ootb.

Do you have the entry points of the application Services? Did you try running the Service Mapping Discovery after updating the entry point? The advantage of Service Mapping is that it will perform the horizontal and top down. Also, you can try enabling traffic based discovery on the Service Map. You can explore the netstat command on the connection section run command pattern step to identify the out going connection from the top node.

Our smaps already look like this. After Horizontal Discovery the entrypoint gets created and the mapping is also done. 90% of the pattern are own written because our technologie is not known from snow. I already have a lots of experience in Discovery Patterns and there Connections.

 

We have a scalable system which after mid is installed and discovery is running all follow up process automated and scripted.

 

But my question is still not answered.

I want to access cmdb data during a discovery pattern and i guess it is unfortunately not possible

 

TeeKaypA_0-1689849766860.png