Updating information on software inventory

Antworten
abmteam
Beiträge: 7
Registriert: 15 Mär 2012, 21:41

Updating information on software inventory

Beitrag von abmteam »

Hello all,

When I install (setup) the swaudit product I get information about software inventory.

How can I update the information about inventory? I'd like to run again software inventory without lose information about firstseen/last seen/last used.

Thanks in advances,

Alexandre Borges
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Updating information on software inventory

Beitrag von wolfbardo »

Hello,
abmteam hat geschrieben: How can I update the information about inventory? I'd like to run again software inventory without lose information about firstseen/last seen/last used.
Not sure what you mean with "firstseen/last seen/last used"

For updating information on software inventory you have to set

Code: Alles auswählen

swaudit=setup
or

Code: Alles auswählen

swaudit=always
After running swaudit on the client, information about "last seen" will be changed, information about "created" will not be changed.

Hope this helps,

regards,
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
abmteam
Beiträge: 7
Registriert: 15 Mär 2012, 21:41

Re: Updating information on software inventory

Beitrag von abmteam »

Hello,

First, thank you for your answer.

(I´m using FILE backend). When the software inventory runs, the information (first seen/last seen/last used) on the /var/lib/opsi/config/audit/machine_name_xxxxxxxxxx.sw file changes.

But the first seen field, I think, shouldn´t change. (The software had been seen on the previous inventory.) Does it also happen with the mysql backend?

Thanks again,

Alexandre
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: Updating information on software inventory

Beitrag von wolfbardo »

Hello Alexandre,
abmteam hat geschrieben: (I´m using FILE backend). When the software inventory runs, the information (first seen/last seen/last used) on the /var/lib/opsi/config/audit/machine_name_xxxxxxxxxx.sw file changes.
now i understand.

- we recommend for the auditing functions the use of the mysql-Backend.
- Dont rely on the information in the backend (for instance file or mysql) cause this information may change in future releases.
- have a look at the json-api Web service / API methods in the opsi-manual (method auditSoftwareOnClient)

regards,
Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
Antworten