https://github.com/fclairamb/edms
Experimental device management system
https://github.com/fclairamb/edms
Last synced: about 1 year ago
JSON representation
Experimental device management system
- Host: GitHub
- URL: https://github.com/fclairamb/edms
- Owner: fclairamb
- License: mit
- Created: 2013-11-26T01:22:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-01T20:26:23.000Z (about 2 years ago)
- Last Synced: 2025-03-23T22:53:24.970Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 877 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
EDMS
====
Experimental Device Management System.
The idea of this interface is to centralize some basic reports in order to follow parameters around devices (date of production, first usage, first malfunction, versions of softwares components, battery status, location).
The main goal is to have a zero cost integration. Making a report is a simple as that:
import json, urllib2, datetime, os, socket
report = {
"hostname": socket.gethostname(),
"type": "hello_from_python",
"date": datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f'),
"loadavg": os.getloadavg(),
"device_group": "g1"
}
urllib2.urlopen('http://localhost:8888/report', json.dumps(report))
Installation
------------
On debian 7 (wheezy), it will something like that:
apt-get install python-dateutil python-sqlalchemy python-tornado supervisor -y
mkdir -p /usr/local/share/edms/ /var/lib/edms/
git clone https://github.com/fclairamb/edms.git /usr/local/share/edms/
echo "
[program:edms-8501]
command=python /usr/local/share/edms/edms.py --port=8501 --db /var/lib/edms/main.db
stderr_logfile=/var/log/supervisor/edms-stderr.log
stdout_logfile=/var/log/supervisor/edms-stdout.log" >/etc/supervisor/conf.d/edms.conf
Screenshots
-----------
To get an idea of how it looks like...
**Devices list**
All the identified devices.

**Device report**
View of a single report.

**Device properties**
Device properties are the result of many device reports.

**Users**
Users can have access or admin rights. Access right allow to see everything but don't allow to modify anything.

**Device groups**
Device groups are not (really) used yet.

[](https://bitdeli.com/free "Bitdeli Badge")