Cool Solutions

Datasync Web View

coolguys

By:

October 9, 2012 10:59 am

Reads: 3289

Comments:7

Score:0

By gibsont

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 :)

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: GroupWise, Technical

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

7 Comments

  1. By:pgarcia2

    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!

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
  2. By:aschneck

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

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    • By:olidub

      Hello,

      Same problem for me.

      Do you have fix it ?

      Olivier

      VN:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • By:aschneck

        I dont have a fix
        Axel

        VN:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
      • By:olidub

        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”.

        VN:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
      • By:olidub

        To fix : change the database name from “datasync” to “mobility”

        VN:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
  3. By:aschneck

    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

    VN:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)

Comment

RSS