- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 06:31 AM
Hi All,
We are using service graph connector for JAMF integration. We are able to fetch the data successfully but we are facing an issue while inserting the record into cmdb_ci_computer table. We have received 5 records with same name but different serial number, Mac address out of those 5 records only 1 is inserted into the table but remaining 4 are not.
Is this happening because of the same name?
Has anyone faced this issue?
Can anyone help with this issue?
Thanks,
Vidyashree
Solved! Go to Solution.
- Labels:
-
Service Graph Connector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 07:44 AM
The 3rd rule that is just name is the one causing the issue. You would need to modify it to include serial number and allow null values:
After you make that change you would need to remove all records in the sys_object_source table where the target sys id is the ID of the CI you are having issues with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2022 06:47 AM
Here are the out of the box IRE rules for computer.
The way the IRE works is that it will try the match on the first rule then if it doesn't find a match go to the second rule, etc.
Let's walk through an example for you:
Record | Name | Serial Number |
1 | abc | 123 |
2 | abc | 234 |
3 | abc | 345 |
4 | abc | 456 |
5 | abc | 567 |
- The IRE will look for record 1, find no match based on the serial number lookup rule, serial number rule, name rule, or the network adapter lookup rule and create a CI with name = abc and serial number = 123.
- The IRE will look for record 2, find no match based on the serial number lookup rule, find no record based on the serial number rule (123 does not equal 234), but will then find a match based on the name rule (abc equals abc). This means the IRE will identify that record as being the same and update it. The CI will now have name = abd and serial number = 234.
- Records 3, 4, and 5 will also follow the same pattern as 2
This means that you will have to either modify the IRE rules so that you don't match on name alone or modify the JAMF mapping to name in the IntegrationHub ETL to make sure the name is unique.
If you modify the IRE rules you will also need to clear out the records in sys_object_source as the IRE will use the id lookup on sys_object_source to shortcut the IRE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 06:19 AM
Hi,
Thanks for your reply and explaining the issue very clearly.
Since I am very new to IRE rules can you please help me with how I can change the IRE rules?
There are 4 entries which one exactly do I have to change so that it will create different records for different serial numbers instead of updating the record
Thanks,
Vidyashree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 07:44 AM
The 3rd rule that is just name is the one causing the issue. You would need to modify it to include serial number and allow null values:
After you make that change you would need to remove all records in the sys_object_source table where the target sys id is the ID of the CI you are having issues with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 03:10 AM
Thank you so much. It resolved the issue.
Do you have any link where I can refer to regarding IRE?