+1

Permanently delete computer and have an orphaned junk cleanup cron

Erique Souza 7 months ago 0

When we are deleting an item from the GLPI recycle bin, for example a computer, 2 ways of deletion are always presented:

  • Permanently delete but keep devices
  • Permanently delete and remove devices

The issue is that I have always noticed that when permanent deletion is chosen asking to remove the devices together, some items are not excluded, leaving several inventory requirements that will no longer exist behind, such as: Software, monitor and devices

I believe that this behavior is incorrect and that everything related to that equipment should be removed.

I know that there is an automatic action task that cleans software and software versions that are no longer linked to any computer, this partially resolves the garbage left by a deleted computer, for example.

But today there is no automatic task that deletes unlinked orphan devices that were in automatic inventory, I believe that perhaps this is the way to go, to leave them in the GLPI as optional, or to clean them when deleting the equipment.