Discovery Pattern Extension doesn't create CI.

Au_an
Tera Expert

Hi everyone,

 

I've created a custom pattern extension linked to the already existing Linux Server pattern in order to discover OVM virtual machines and create new entries in a custom table (ci class type) also created by me, child of Virtual Machine Instance class.

 

The discovery log reports the creation step as completed and VMs are being discovered, but the table is still empty. I used "Transform Table" to create the entries into the custom table, with source table the one in which I stored all the VMs during the pattern execution and target table the custom table.

Did I missed some steps? Is there anything else to do when creating a custom class in order to enable discovery to create an entry?

 

Moreover, I don't know if it can help, but when I try to search that custom class into filter navigator, it doesn't appear. I need to access it by using its full name.list. But I can see it in CI Class Manager.

 

Thank you very much for your help!

12 REPLIES 12

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Au_an 

 

Ahh! There seems some misconfiguration for sure but couldn't identify based on the conv here, may be one needs to look at the instance.

 

This error comes when it's not able to identify it as a CMDB CI, ensure you have created this new table under the CMDB hierarchy only and derives some base class and then do a sync to mid and then retry.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

I think you mean this right? I've created the class starting from Virtual Machine Instance > Add Child Class.

Au_an_0-1674133874650.png

 

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @Au_an 

 

Yes, I meant this only. But I already see 1 CI shown in the (1) so it means it populated right, was it some diff record?

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.

It is a record that I created manually as a test, by pressing "New" button in the CI table, not something created by the discovery.

Michael de Boer
Giga Guru

Did you add the custom CI class to the "List of CI Types to Pattern" in the pattern Designer?

MichaeldeBoer_0-1674124494343.png

You can open this by clicking on the button next to the ci class dropdown list..

MichaeldeBoer_1-1674124552878.png

 

Regards,
Michael

Please mark the suggestion as helpful/like, if you find it useful to you or others who wants to refer similar content.
Please mark the solution as correct, if the answer provided has resolved your query.