- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2016 01:05 AM
Hi,
We want to use the new CMDB Health dashboards for managing our CMDB. However within our company we do not delete CI's but give them a status of "Removed". Of course these CI's become stale over time or don't have the appropriate relations.
So my question is How can we exclude these CI's from the Health Collection Jobs.
I've looked and searched but cannot find it. First I thought the conditional field on the job could help us but that field only determines when the job is run not on which CI's.
Also tried to find the script include that handles the logic but i cannot find it.
Any help would be appreciated.
Kind Regards,
Luc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 11:57 PM
Hi Catherine,
We did not find a OOB solution to filter out certain CI's. Even got ServiceNow PS involved in the question but till this day no actual solution.
Did experiment with some business rules. The following one does its work. But does not cleanup after the CI is changed. So also create a business rule on the cmdb_ci that removes all cmdb_health_result after a certain condition is changed. This one is async rule.
Created a business rule on:
cmdb_health_result
Before business rule that will check for a certain condition on the CI reference field (dot-walked) and if true aborted the action so no insert.
I know it is not the nicest of solutions..
Greets,
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2016 01:35 AM
I am not very sure but can you apply filter on state field?
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 11:34 AM
Hi Deepa - I haven't found a way to add any filters to the "Completeness" metric . Have you been able to find a way to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 11:39 AM
Hey lucr - I know it's been a while since you posted this. Did you find a solution to this? I have the same question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2016 11:57 PM
Hi Catherine,
We did not find a OOB solution to filter out certain CI's. Even got ServiceNow PS involved in the question but till this day no actual solution.
Did experiment with some business rules. The following one does its work. But does not cleanup after the CI is changed. So also create a business rule on the cmdb_ci that removes all cmdb_health_result after a certain condition is changed. This one is async rule.
Created a business rule on:
cmdb_health_result
Before business rule that will check for a certain condition on the CI reference field (dot-walked) and if true aborted the action so no insert.
I know it is not the nicest of solutions..
Greets,
Luc