Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Connected user info

I am need to collect information about Connected users from Domain (AD)
Now its working, but after weekend (when no one is logged on PC) i see that Connected user field is empty for all PC in inventory.
How i can configure option that this field always show the LAST CONNECTED USER on PC?
(Maybe i must disable collect info on boot options? e.t.c.)

And the next question, how i can make mass update action to get this info from my server directly?

Thanks
in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
i do not know, but a complex way could be to disallow empty stirings inserted into the database for specific fields

https://stackoverflow.com/questions/2514178/a-constraint-to-prevent-the-insert-of-an-empty-string-in-mysql

another way could be to integrate GLPI, because there you can see a change history for everything changed in ocs-inventory

https://www.youtube.com/watch?v=RCC69OPqAmo

GLPI - Import / Synchronize Computers from OCS Inventory Server to GLPI

and another way could be the use of ocs-invenotry client 2.0.5 which always only sends the last connected user as i know
Kind regards
ago by (25k points)
edited ago by
 
Powered by Question2Answer
...