
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-06-2021 08:41 AM
Hello all,
***DISCLAIMER***
I am truly willing to learn not just asking for a quick fix
We implemented Discovery a few months back and brought CIs into our CMDB. However, in attempt to implement service mapping I found the following errors in the discovery logs:
Failed Exploring CI Pattern, Pattern name: Credentialless Discovery Network Device
Failed Exploring CI Pattern, Pattern name: F5REST
Failed Exploring CI Pattern, Pattern name: IIS
Failed Exploring CI Pattern, Pattern name: Microsoft SharePoint
Failed Exploring CI Pattern, Pattern name: MSSql DB On Windows
Failed Exploring CI Pattern, Pattern name: Network Routing Device - Light
Failed Exploring CI Pattern, Pattern name: SSAS
Failed Exploring CI Pattern, Pattern name: Tomcat
Failed Exploring CI Pattern, Pattern name: Windows OS ā Servers
Each error has a Process ID attached to it and I've used the forum to troubleshoot these errors. However, I am stumped. For example:
Identifier: Identification CI Errors: In payload no relations defined for dependent class [cmdb_ci_iisdirectory] that matches any containment/hosting rules: [cmdb_ci_microsoft_iis_web_server <- Runs <- cmdb_ci_iisdirectory,cmdb_ci_appl >> Runs on >> cmdb_ci_hardware]
I go in check the containment rule(s) and they seem to be correct but it is not correct (Don't know what Im doing wrong). Can anyone guide me to a resolving some of these errors?
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-08-2021 10:41 AM
No relations defined for dependent class that matches any hosting/containment rule usually means the associated dependent class data is not present/captured in the pattern to successfully create the CI.
In payload no relations defined for dependent class [cmdb_ci_iisdirectory] that matches
any containment/hosting rules:[cmdb_ci_microsoft_iis_web_server <- Runs <- cmdb_ci_iisdirectory,
cmdb_ci_appl >> Runs on >> cmdb_ci_hardware]
In the CI class manager for the table IIS Virtual Directory(cmdb_ci_iisdirectory), you can see it has a dependent
relationship on Microsoft IIS web server. This means that in order to populate the IIS virtual directory,
there should already be a IIS web server populated in the cmdb with a contains connection/relation to
IIS virtual directory, then only the pattern would be successfully executed.
So, in your pattern see the step and check if Microsoft IIS connection/creation is getting captured correctly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-09-2021 04:16 AM
To Start with please look at the permissions. If Windows User which is used for Discovery has ADMIN Access or its a Domain Admin User - IIS , SQL DB , SQL Instances ets all will automatically come. Half of your pain will be gone by just using ADMIN permission user.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-01-2024 06:40 AM
i would want to extend following pattern"IIS Virtual Directory" to retrieve the all details of web application which hosted on azure plaftform such as version,category , some custom fields etc, for retrieve all details of application i have created "details "under extension , my queries what command to write retrieve all details of web application and when run below command i got error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-12-2021 12:22 AM
Found a relevant KB Article
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0725816