This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository mum. See http://git.chorem.org/mum.git commit b6d01a5c4157cae171d16c915cc4b75f86d5829f Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Wed May 6 11:44:31 2015 +0200 version added on database + updated readme --- README | 14 ++++++++------ app/modules/storage_modules/shelve_db.py | 1 + views/hostpage.html | 5 ++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README b/README index 6e134ba..62e7019 100644 --- a/README +++ b/README @@ -31,8 +31,8 @@ Copy the mum.conf file to create a local configuration file. Edit this local configuration file. To get informations about each field, type : ./run.sh -h -Launch the server : -./run.sh location_of_local_conf_file +Launch the server (you need root access for UDP scan with nmap): +sudo ./run.sh location_of_local_conf_file You can also overwrite a filed of the configuration file by adding "--field value" arguments on the command line. To get all avaliable arguments, type : @@ -40,7 +40,7 @@ all avaliable arguments, type : The service will be avaliable by default on 0.0.0.0:1337 -We recommand to parameter the default settings for each modules before scanning any host. +We recommand to set the default settings for each modules before scanning any machine. The default parameters that will be applied are : - minor limit at 90% and major limit at 98% for each "%" values - major limit if down for boolean values @@ -57,8 +57,10 @@ bower install ./install.sh -edit local configuration file by following the latest model +Edit local configuration file by following the latest model (mum.conf) -remove database +Remove database -Launch the server again: ./run.sh location_of_local_conf_file \ No newline at end of file +Launch the server again: sudo ./run.sh location_of_local_conf_file + +Don't forget to set the default settings before scanning machines ! \ No newline at end of file diff --git a/app/modules/storage_modules/shelve_db.py b/app/modules/storage_modules/shelve_db.py index c073e08..6dfbe32 100644 --- a/app/modules/storage_modules/shelve_db.py +++ b/app/modules/storage_modules/shelve_db.py @@ -39,6 +39,7 @@ class shelve_db: self.db["groups"] = {} self.db["global_conf"] = {} self.db["tasks"] = [] + self.db["version"] = "0.1" except: print "Database initilalization error" self.db.close() diff --git a/views/hostpage.html b/views/hostpage.html index 3dd625d..724db7b 100644 --- a/views/hostpage.html +++ b/views/hostpage.html @@ -56,9 +56,8 @@ ng-click="check(itemname)">Check now</button></td> </tr> <tr ng-repeat-end - ng-repeat="(valname, val) in item.value | - orderBy:val" - collapse="collapsed[itemname]"> + ng-repeat="(valname, val) in item.value" + collapse="collapsed[itemname]"> <td>{{valname}}</td> <td>{{val}} {{get_unit(itemname)}}</td> </tr> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.