List of all classes discovered on the instance

Eugene10
Tera Contributor

Hi there,

Is there a way to obtain a list of all classes discovered on the instance?

To understand precisely which class is being discovered, we can sort the [cmdb_ci] table by the Discovery Source field or by the created by/updated by field, leaving only the records that were created or updated by the Discovery service account.

But how can we understand if CIs of a specific class are not present in the CMDB?

It could be because there are no CIs of that class in the network, or something is disabled on the ServiceNow end, and the class is intentionally not being discovered.

How can we obtain the full list of classes that can be discovered on the instance?

 

Thanks.

3 REPLIES 3

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Eugene10 ,

 

ServiceNow CMDB has over 1000+ tables and classes. And all thirt party integration and discovery have capabilities to update all your cmdb classes. 

 

Based on the infrastructure and Device type your classes will be populated. To know which all classes have been updated on your cmdb you can simply go to Cmdb_ci table and do group by 'class' field. 

 

Here you will be able to list all the classes were the data is existing and any classes which has 0 CI will not be listed in your result. You can do the export of this class list and remove unwanted data to see only classes which exisit in your cmdb with data... 

 

 

I hope this helps ,if so ...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Rahul Priyadars
Giga Sage
Giga Sage

Hi Eugene10

 

Once discovery is completed you can open CMDB_CI table and then do a group by on CLass attribute.

This will give you CI is present in which all classes after discovery.

RahulPriyadars_0-1711943510627.png

 

 

Regards

RP

Pratiksha
Mega Sage
Mega Sage

I would suggest to use CMDB workspace. It will not only give you visibility in CMDB with respect to classes but cmdb 360 can help you to understand the various sources of discovery. 

 

discovery console is something used to control the classes discovery can discover. You can check if anything is disable. 

 

Regards, 

Pratiksha Khandelwal