Event Rules: Binding to a CI uses an additional field not configured in Event Rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-11-2019 05:08 AM
Hi,
I have created several event rules to bind to CIs depending on the required filters. What I am seeing however is an extra field being used in the CI bind that is not configured in the event rule used, nor in any event binding scripts. The extra field is a custom field I have created but is not relevant to the binding to the CI Type. Using Check Processing of Event link I can see it hits the right rule, but what I would like to see ideally is a debug of what the event processing is actually doing and why it is picking up this non-relevant field to use for binding to a CI.
I know the Event Rules work as I have exported all rules via an update set and imported into a fresh developer instance and tested. The rules work as expected and bind to the expected CI.
So my questions are, what else could be influencing the CI binding process to include this field in the evaluation and is there some way of debugging the event processing?
Thanks
Jon
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-11-2019 10:06 AM
I haven't found a really good way to debug the binding outside of what is put in the em_event entry. Do you have any CI binding overrides in your event rule? If not then it should be doing it on name, ip_address, and mac address information found in the cmdb_ci_hardware CI table attributes (although the mac address must reference other tables but it all goes back to a hardware table). If you have it overriding the binding and node is blank then it will use whatever variables you have in the additional_info section and will match it to corresponding attribute names in the table you choose in the ci binding section. Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-14-2019 02:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-28-2023 03:05 AM
Is it posible to do OR in additional info values?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-15-2019 06:59 AM
OK, so in Transform & Compose, manual attributes has been updated with the u_group field which is why the binding is using it. This has been added dynamically as it doesn't exist in my update set where I created the rule and didn't exist initially in the rule. So the next thing is to figure out why this field is being added to the event rule, perhaps a bug or from the way the event rules were created? I'm opening a support case for this.