The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Service Mapping - Prevent Horizontal Discovery

David Mawer
Mega Expert

Hi there,

 

So - I've got an application service where the Service Map is shown below.

DavidMawer_0-1675331527715.png

The last node is created as a custom entry point type to a IP Address of a cmdb_ci_cloud_database record.

 

I've made sure that the cmdb_ci_cloud_database has the IP address that the map is looking for.

 

When I run the service map; I get this error message for the last node: -

Service mapping triggered horizontal discovery to find the host 10.128.134.89, because the host was not in the CMDB.

 

So here is my question: -
Why does the service map not find the cmdb_ci_cloud_database entry with the correct IP address?

How can I change a config setting or a script so that the horizontal discovery is not kicked off - rather the correct record in the CMDB is included in the map?

1 ACCEPTED SOLUTION

David Mawer
Mega Expert
So it turns out that this is how to prevent horizontal discovery (in Service Mapping when a connection specifies an IP address): -
 
  1. Create a "Network adapter" (cmdb_ci_network_adapter) with the "configuration item" set to your CI.
  2. Create an "IP Address" (cmdb_ci_ip_address) with the "Nic" set to the above network adapter.
 
Now - top-down discovery will find your CI when the connection specifies the IP address 🙂
 
There's also a way to link the configuration item to the IP address without using the "Network Adapter": -
  1. Create an "IP Address" without the network adapter.
  2. Create an "Owns::Owned By" relationship where the parent is the configuration item, and the child is the 'IP Address" created in point 1.
This also allows the service mapping to link the IP Address to the configuration item; and prevents the horizontal discovery from running for the configuration item.

View solution in original post

1 REPLY 1

David Mawer
Mega Expert
So it turns out that this is how to prevent horizontal discovery (in Service Mapping when a connection specifies an IP address): -
 
  1. Create a "Network adapter" (cmdb_ci_network_adapter) with the "configuration item" set to your CI.
  2. Create an "IP Address" (cmdb_ci_ip_address) with the "Nic" set to the above network adapter.
 
Now - top-down discovery will find your CI when the connection specifies the IP address 🙂
 
There's also a way to link the configuration item to the IP address without using the "Network Adapter": -
  1. Create an "IP Address" without the network adapter.
  2. Create an "Owns::Owned By" relationship where the parent is the configuration item, and the child is the 'IP Address" created in point 1.
This also allows the service mapping to link the IP Address to the configuration item; and prevents the horizontal discovery from running for the configuration item.