Seite 1 von 1

Updating information on software inventory

Verfasst: 30 Apr 2012, 18:47
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

Re: Updating information on software inventory

Verfasst: 02 Mai 2012, 11:29
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

Re: Updating information on software inventory

Verfasst: 02 Mai 2012, 20:16
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

Re: Updating information on software inventory

Verfasst: 02 Mai 2012, 22:52
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