CMDB task "Inventory Clean Up" fails to clear inventory data for Retired computers
search cancel

CMDB task "Inventory Clean Up" fails to clear inventory data for Retired computers

book

Article ID: 158880

calendar_today

Updated On:

Products

CMDB Solution

Issue/Introduction

When using the CMDB task Inventory Clean Up, it is configured to check for (at the least) a Retired computer Status. An inclusion filter is configured that lists the Retired computers to clean up. When the task runs, however, the computers still retain inventory data.

Environment

ITMS 7.x, 8.x

Cause

Incorrect configuration of task.

Resolution

There are two issues with this scenario:
 

  • Filters generally cannot contain Retired computers. It is unlikely, therefore that the filter that is used actually has the computer or if it does, it's not listed as Retired on it. This could indicate stale data on the filter. Manually inspect the filter and update its data to ensure that it includes the correct computers before using this with any task.
  • If the task is set to check for Retired computers, it therefore cannot use an inclusion filter, as the filter itself cannot include Retired computers.
     

The correct way to run this task to check for Retired computers is to not use an inclusion filter. This would then check all computers, based on the selected Status types of the task. If there are certain computers that are desired to not be evaluated, use an exclusion filter to remove these from being processed.

Related Articles

How to use the CMDB task "Inventory Clean Up"
KB 181680

Computer status changes from Retired back to Active
KB 154264

Can the CMDB task "Inventory Clean Up" only remove just Software or just Hardware data?
KB 181679