Discovery Pattern Step-Create Relationship not happening

SNowUser11
Kilo Guru

Hello Experts,

I was looking to create relationship between a cmdb_ci_computer and cmdb_ci_service Using relation Depends On:: UsedBy

cmdb_ci_computer table contains a field u_service which is same as cmdb_ci_service table. Eg:

On Table cmdb_ci_computer

--------------------------------

Name                 u_service(String field) getting this via Discovery

COMPUTER1      Acrobat

 

On Table cmdb_ci_service 

-------------------------------

Name

Acrobat

 

Then on Table 'cmdb_rel_ci' want to create a relation

Parent             Type                            Child

Acrobat            Depends On::UsedBy     COMPUTER1

It does not give me error but does not create result when i do TEST . Any step I am missing please guide.  Thanks

find_real_file.png

 

30 REPLIES 30

SNowUser11
Kilo Guru

Can anyone plz guide

when you run discovery on a host , notice in the discovery log the pattern that executes to discover that host. you can open the log for that, select the identification and press debug, then just edit the pattern: add a "create relationshop/reference" step and link these two together. it's relatively easy to customize.

 

Also, check if you have suggested relationship.

 

find_real_file.png

 

Regards,

Sachin

HI Sachin,

I am editing the pattern (Windows OS-Desktop) in Extension Section . But it seems the relationship is not getting created. Also OOB already the relationship between service and computer is there I checked in CI Class Manager .

Rahul Priyadars
Giga Sage
Giga Sage

which pattern you are extending?

Just checked one of the OOTB such available relationships. Please try as below .

find_real_file.png

Regards

RP