Article

gibsont's picture
article
Reads:

3057

Score:
3.166665
3.2
6
 
Comments:

7

Datasync Web View

Author Info

9 October 2012 - 9:59am
Submitted by: gibsont

(View Disclaimer)

Datasync Web View -

I have created a web view of datasync information for my non datasync admins. This is a PHP webpage that pulls the data directly out of the postgresql database that datasync uses. There are no modifications to the database. This webpage simply queries the database for the information and then displays that information in an easy to read format.

This current version will show you the total number of devices connected, the total number of users, a break down of iOS types and iOS versions, user id, user name, user state, device id, device description, device type and time stamp. I have parsed out the device description to show what iOS device and iOS software that device is running. I tried to do this for Android devices but that info seems much harder to track down.

Please note that I have not parsed out every version of every iOS device and iOS software. I have parsed out the current devices and software on my server. If you install this software and there are iOS devices/software that are not being recognised let me know and I will add them to the software.

Simply unzip and add the folder to your exisiting Apache, PHP server. I am currently running mine on an ubuntu 12.04 box.

I have updated the code so that it shouldn't throw any php errors about uninitialized variables and I have changed the <? to <?php tags. I have also moved the database connection parameters to the config.php file inside the includes folder. The parameters are setup with the default values. If you changed these during your datasync installation then you will need to change them in the config.php file.

I would attach a screen shot but I would basically have to block out all of the device data and usernames which would make the screen shot almost one big black block :)

AttachmentSize
datasync-007.zip7.17 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

pgarcia2's picture

Simple and useful

Submitted by pgarcia2 on 22 October 2012 - 7:51am.

Since we haven't decided on an MDM solution, I have been generating this data manually for our admin staff every week. This saves me a lot of time over all.

Thanks very much!

aschneck's picture

Doesnt work here

Submitted by aschneck on 12 November 2012 - 7:25am.

Couldn't get it running; configured the config.php
Got only an empty page (except the header with the about button)

olidub's picture

Doesnt work for me too

Submitted by olidub on 20 November 2012 - 3:35am.

Hello,

Same problem for me.

Do you have fix it ?

Olivier

aschneck's picture

Doesnt work for me too

Submitted by aschneck on 21 November 2012 - 6:32am.

I dont have a fix
Axel

olidub's picture

I've changed some things in

Submitted by olidub on 19 December 2012 - 1:35am.

I've changed some things in the script, but the main thing I've changed is the name of the database in the script : Replace "datasaync" by "mobility".

olidub's picture

To fix : change the database

Submitted by olidub on 19 December 2012 - 2:35am.

To fix : change the database name from "datasync" to "mobility"

aschneck's picture

Doesnt work

Submitted by aschneck on 20 February 2013 - 7:34am.

Still doesn't work on my site. Running it on an apache server (SLES11), giving the IP of the remote datasync server and users password in config.php
But I still get only a blank page
Axel

© 2013 Novell