Pandora FMS Community

Transfer data of pandora software agent on Android (Pandroid agent) by file

RoBo · 8 may 2015, 2:00 · 2 mensajes · 75 visitas

  1. Inicio del debate

    Question: Is it possible to have Pandroid Agent sent it's data to a file in order to insert it into the Pandora FMS database? Background info: You can monitor your android phone/tablet using the Pandroid Agent application. Here it's configurable to have the data sent to a server based on an IP connection. Normal people would want that, because normally your phone/table is connected to the internet and your Pandora FMS server also. However my use case is not normal :) I have multiple android devices connected (using USB/ADB) to a server and would like to monitor them, preferably without using any IP connection. This should be possible if Pandroid is writing the data to a local (XML?) file. From there I easily can transfer this to the server, ready to be picked up by Pandora FMS. I've read that's possible by the 'other (win/linux)' agents to transfer their info file-based, so I hope that it's also possible currently (what location are the files written?) or could be added.

  2. The file seems to be /data/data/pandroid.agent/shared_prefs/PANDROID_DATA.xml (not yet tested if file transfer via ADB will work, but theoretically this should be fine)

Entra en tu cuenta para publicar.