<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Here's where I'm stuck. There is <A
href="https://github.com/martasd/xsce/tree/feature_xovis">https://github.com/martasd/xsce/tree/feature_xovis</A>
and there is <A title=https://github.com/martasd/xovis/tree/master
href="https://github.com/martasd/xovis/tree/master">https://github.com/martasd/xovis/tree/master</A>
(and several other branches). There is also <A
title=https://github.com/martasd/xo-stats
href="https://github.com/martasd/xo-stats">https://github.com/martasd/xo-stats</A>
(with several branches).</DIV>
<DIV> </DIV>
<DIV>Martin created a PR for the first , but there have been additions to the
second, as Sameer noted, since the PR and I don’t think they are reflected in
the xsce branch. I think Martin or someone familiar with the changes needs
to modify the xsce branch so it can be tested and merged. In fact I think
the third is what is cloned by the existing PR. Should tasks/main.yml be
based on <A
title=https://github.com/martasd/xovis/blob/master/scripts/install_xovis.sh
href="https://github.com/martasd/xovis/blob/master/scripts/install_xovis.sh">https://github.com/martasd/xovis/blob/master/scripts/install_xovis.sh</A>?
It clones the xovis repo, not xo-stats.</DIV>
<DIV> </DIV>
<DIV>In terms of the configuration for xovis on xsce, Martin included a
vars/main.yml to hold values like the name of the deployment (which I think is
supposed to appear on the charts) and user name and password for admin.</DIV>
<DIV> </DIV>
<DIV>Tim</DIV>
<DIV>-----Original Message----- </DIV>
<DIV>From: Sameer Verma </DIV>
<DIV>Sent: Tuesday, June 24, 2014 1:47 PM </DIV>
<DIV>To: xsce-devel </DIV>
<DIV>Cc: XS Devel </DIV>
<DIV>Subject: Re: [XSCE] xovis on the XSCE 5.0 </DIV>
<DIV> </DIV>
<DIV>On Thu, Jun 19, 2014 at 3:38 AM, Martin Dluhos <martin@gnu.org>
wrote:</DIV>
<DIV>> On 06/17/2014 08:49 PM, Sameer Verma wrote:</DIV>
<DIV>>> On Tue, Jun 17, 2014 at 1:11 AM, Martin Dluhos
<martin@gnu.org> wrote:</DIV>
<DIV>>>> When installing with install_xovis.sh script, the script will
output the command</DIV>
<DIV>>>> that you need to run. Since the db was created using an admin
account, you need</DIV>
<DIV>>>> to pass the 'server' flag to the command including the couch
credentials:</DIV>
<DIV>>>></DIV>
<DIV>>>> ./process_journal_stats.py dbinsert xovis --deployment olpc
--server</DIV>
<DIV>>>> http://admin:admin@127.0.0.1:5984</DIV>
<DIV>>>></DIV>
<DIV>>></DIV>
<DIV>>> That works!
https://twitter.com/sameerverma/status/478970452757327874</DIV>
<DIV>></DIV>
<DIV>> Very nice!</DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV>></DIV>
<DIV> </DIV>
<DIV>So, here are some observations:</DIV>
<DIV> </DIV>
<DIV>XSCE should pull to get the latest from xovis (Tim Moody has already</DIV>
<DIV>written about this). I don't see the add deployment [+] button and</DIV>
<DIV>spider charts on the XSCE version.</DIV>
<DIV> </DIV>
<DIV>Add methods to pull from sugar-stats (currently stores data in RRD</DIV>
<DIV>format, but rrdtool does the export in versions 1.4.6 and above) and</DIV>
<DIV>harvest (already has serialized json). Also add methods to read from</DIV>
<DIV>Sugar backups done using the Backup activity. Many smaller projects</DIV>
<DIV>have backups done by hand.</DIV>
<DIV> </DIV>
<DIV>We'll need some auth layer above xovis. If it's on XSCE, then XSCE</DIV>
<DIV>should handle this, but if not, there should be some basic auth</DIV>
<DIV>mechanism to do roles/permissions for teacher, principal, etc.</DIV>
<DIV> </DIV>
<DIV>Resolve the userid:password for couchdb (instead of admin:admin) in</DIV>
<DIV>ansible, so it installs with an account other than admin.</DIV>
<DIV> </DIV>
<DIV>A way to edit out the "OLENepal" header from all charts.</DIV>
<DIV> </DIV>
<DIV>Maybe we spin a VM with CentOS and xovis (call it the visualizer!)</DIV>
<DIV>where you can plug in a USB stick or external drive with backups, and</DIV>
<DIV>visualize.</DIV>
<DIV> </DIV>
<DIV>Some basic documentation on the use of xovis and interpretation of</DIV>
<DIV>data for teachers, principals, etc.</DIV>
<DIV> </DIV>
<DIV>Something that's quite popular with many similar projects (deployment</DIV>
<DIV>of several mobile computers) is "How many laptops showed up at school</DIV>
<DIV>today?". There are a few different ways this can be done (dhcp log,</DIV>
<DIV>Journal data), but I'd like to discuss this a bit more.</DIV>
<DIV> </DIV>
<DIV>I'll post more as I think of other ideas.</DIV>
<DIV> </DIV>
<DIV>cheers,</DIV>
<DIV>Sameer</DIV></DIV></DIV></BODY></HTML>