pluginsGLPI / ocsinventoryng

Plugin ocsinventoryng for GLPI
GNU General Public License v2.0
68 stars 52 forks source link

Android Smartphones imported from OCS are stored as computers #237

Open philippe-chauvier opened 4 years ago

philippe-chauvier commented 4 years ago

Dear Team,

I currently use the last version of OCS inventory application 2.7 with GLPI 9.4.5.

I collect information from Android Smartphones with the Android OCS Inventory Agent 2.3.1.

During the synchronization with OCS, the Android Smartphone collected are stored as computer, not as phones. However, there is no rule that allows me to modifiy this process.

Is there an evolution of the plugin planned to implemente this ?

Thanks in advance for your reply.

Regards

Philippe

tsmr commented 4 years ago

Hello - Can you send us a XML of an android smartphone ?

We can study to import it as phone object

philippe-chauvier commented 4 years ago

Good Evening,

thanks for your answer.

You will find the XML Inventory file of a Samsung Galaxy A10 in the zip file attached.

Good reception android-2020-04-19-21-39-15.zip

tsmr commented 4 years ago

GLPI 9.5 add softwares, volumes etc to phone object, so i think it's possible do add it. Now we have needs time to develop it: P or a sponsor :)

massinlaaouaj commented 3 years ago

It will be interesting, I have hundreds of smartphone and it put on "computers", instead on "phones". Actually I have to move the smartphone of table "computers" at "phones" in MySQL with scripting. But this solutions is not the best...

E-Concept-Applications commented 3 years ago

Hi, Same here with a Xiaomi Mi 10T Pro. GLPI import it from OCS as a computer, not as phone... Any solution ?

philippe-chauvier commented 3 years ago

Hello, A this time, no solution. The plugin OCS Inventory has not been updated. Th Smartphone object is still considered a pc from OCS Inventory. The GLPI team announced native support for this object from the 9.5 version, but there was no change. If you have any other informations about this subject, i'll be glad to share them. Regards Philippe

vincent1890 commented 1 month ago

GLPI version 10.0.14

Hello,

I am restarting this discussion because I need to import hundreds of Android phones for the most part. However, from my first test, the phone is considered a computer. The import was carried out using the "GLPI Agent" application with "GLPI Native Inventory": (https://play.google.com/store/apps/details?id=org.glpi.inventory.agent&hl=en)

I really need help or at least an API or SQL script to know what needs to be modified to migrate the data from Computer to Phone.


Bonjour,

Je relance cette discussion car je dois importer des centaines de téléphones Android pour la plupart. Cependant, dès mon premier test, le téléphone est considéré comme un ordinateur. L'import a été effectué grâce à l'application "GLPI Agent" avec "GLPI Native Inventory" : (https://play.google.com/store/apps/details?id=org.glpi.inventory.agent&hl=en)

J'ai vraiment besoin d'aide ou, au minimum, d'un script API ou SQL pour savoir ce qui doit être modifié pour migrer les données de Ordinateur vers Téléphone.

Capture d’écran 2024-07-19 144116