You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-27 13:32:30

TB1
Member
Registered: 2022-09-02
Posts: 6

Delete Last inventory date from history

Dear Support,

I would like to know, is there any solution to remove last inventory date from computers history?
We use native inventory, that runs hourly, and our history on our computers growths up to 10 thousand entry.
And for us its not a neccessary information, that inventory run, and because of these lines we dont se the neccessary history (eg. who modofied the computers location.. ).
I copied a part of history, what im talking about
Version: GLPI 10.0.18

46132021    2023-01-18 08:45    inventory    Last inventory date    Change 2023-01-18 07:48 to 2023-01-18 08:45
46131265    2023-01-18 07:48    inventory    Last inventory date    Change 2023-01-18 06:51 to 2023-01-18 07:48
46130587    2023-01-18 06:51    inventory    Last inventory date    Change 2023-01-18 05:56 to 2023-01-18 06:51
46130033    2023-01-18 05:56    inventory    Last inventory date    Change 2023-01-18 05:04 to 2023-01-18 05:56
46129493    2023-01-18 05:04    inventory    Last inventory date    Change 2023-01-18 04:12 to 2023-01-18 05:04
46129033    2023-01-18 04:12    inventory    Last inventory date    Change 2023-01-18 03:19 to 2023-01-18 04:12
46128576    2023-01-18 03:19    inventory    Last inventory date    Change 2023-01-18 02:27 to 2023-01-18 03:19
46128122    2023-01-18 02:27    inventory    Last inventory date    Change 2023-01-18 01:29 to 2023-01-18 02:27
46127636    2023-01-18 01:29    inventory    Last inventory date    Change 2023-01-18 00:37 to 2023-01-18 01:29
46127184    2023-01-18 00:37    inventory    Last inventory date    Change 2023-01-17 23:41 to 2023-01-18 00:37
46126700    2023-01-17 23:41    inventory    Last inventory date    Change 2023-01-17 22:46 to 2023-01-17 23:41

Thanks for your help in advance.

Offline

#2 2025-03-27 14:35:06

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,226
Website

Re: Delete Last inventory date from history

Running inventory every hour seems excessive. The hardware and software probably isn't changing hour to hour. Is there a specific use case for needing it to run so often?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2025-03-28 10:34:53

TB1
Member
Registered: 2022-09-02
Posts: 6

Re: Delete Last inventory date from history

I have changed it to every 24 hours, but it will also be there and maybe its unnecessary.

Offline

Board footer

Powered by FluxBB