Identification Engine Issues

Scenario: When an asset transformation using identification engine is failing with an error IDENTIFICATION_RULE_MISSING

Ideally, you should get either of the following two errors in IRE notes.

IDENTIFICATION_RULE_MISSING

  • In this error, you need to add an identification rule for the target class in question.
  • Adding an identification rule is your responsibility as it is outside the CMDB sync app scope.

Sample IRE notes containing the following error:

{
   "error":"IDENTIFICATION_RULE_MISSING",
   "message":"Identity Rule Missing for table [cmdb_ci_ip_phone]"
}	  

IDENTIFICATION_RULE_FOR_RELATED_ITEM_MISSING

This error is logged in IRE notes if the identification rule is present, but related entries for the target class in question are not present in the cmdb_related_entry table.

Also, it can be fixed by manually adding respective entries in the cmdb_related_entry table for the identifier table, for example, IP phone (cmdb_ci_ip_phone). It is user-configurable.

Sample IRE notes containing the following error:

{
   "error":"IDENTIFICATION_RULE_FOR_RELATED_ITEM_MISSING",
   "message":"Identity Rule for table [cmdb_ci_ip_phone] missing Related Rule for class [x_qual5_itam_app_qualys_asset_details]"
},	  
	  

Scenario: When Identifier is missing in table cmdb_identifier

  • Related entry for any of the target class added from the CMDB sync app does not reflect in the 'cmdb_related_entry' table if the respective identifier is missing in table cmdb_identifier.
  • The CMDB sync app can not create this identifier because it is outside its scope.

In this case,

  • Asset approval is fail with an error IDENTIFICATION_RULE_FOR_RELATED_ITEM_MISSING
  • If you check-in My company applications > installed CMDB sync app > installed Files -> filter all the installed files by the class name 'Related Entry.'
  • Here, you may notice the 'Identifier' field is empty for some of the entries.

But this is again a configuration dependency beyond the CMDB sync app scope, and you can fix it by using the steps in the below example:

  1. Navigate to My company applications > installed CMDB sync app > installed Files -> filter all the installed files by the class name 'Related Entry.' Refer to the following image.
    related_entries
  2. Here, open one of the four empty entries created for the IP Phone class.
  3. Update the 'Identifier' field with 'cmdb_ci_ip_phone'. 
    related_entries2
  4. Repeat the same steps for the rest of the three entries.