How to import data from third party to CMDB router table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 03:04 AM
Hi Team,
While importing data from our source table to CMDB table through API, Able to insert and update records for some CMDB classes like computer, Linux Server, Windows Server....
But not able to create and update for some classes like router , switches ,networks.....
Getting Misssing dependancy
dentification_engine : logId:[07768fd92ffc] MISSING_DEPENDENCY In payload no relations defined for dependent class [cmdb_ci_router] that matches any containment/hosting rules: [cmdb_ci_router >> Hosted on >> cmdb_ci_logical_datacenter]. Add appropriate relations in payload for '{"className":"cmdb_ci_router","values":
Provide the solution as soon as possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 03:09 AM
Hi
Use Service Graph Connectors to import and integrate third-party data into CMDB classes and properties. You can use predefined Service Graph Connectors for common applications from the ServiceNow Store. You can also use IntegrationHub ETL to create new ETL transform maps or edit existing ones.
- CMDB schema model: A collection of class diagrams and class attributes for key CMDB classes.
- CMDB tables descriptions: Descriptions of key CMDB tables in the base system.
- CMDB CI Class Models: A ServiceNow Store app that adds class models that extend the base CMDB class hierarchy. This includes class descriptions, identification rules, identifier entries, and dependent relationships if applicable. You can then use the added classes as any other CMDB base class.
- Populating the CMDB: Information about the various options for populating the CMDB.
- Discovery patterns: A ServiceNow Store app that provides a library of Discovery patterns for discovering specific devices and applications in the industry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 03:49 AM
Hi Sandeep,
Thank you very much for your quick response, But can you please tell exactly what will be the exact attributes passed through CMDB instance API to insert record into CMDB Router class.
Regards,
Jyothi.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2022 07:29 PM
I'd recommend using the Identification Simulation from the left nav to test single payloads and troubleshoot the results.
In your screenshot the error is from the Identification and Reconcilation engine as a value for discovery_source is required.
For the router CI, my guess is you would want to use the cmdb_ci_ip_router class rather than the cmdb_ci_router class.
Using the CI class manager you can see the cmdb_ci_router class has a required relationship