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 ed6a4e1b92233464bd73ba2b482d7cd8582e0d48 Author: Alexis Guilbaud <guilbaud@codelutin.com> Date: Fri Jun 19 10:07:34 2015 +0200 drive detection mod have same name as moni mod --- app/module_loader.py | 2 -- app/modules/detection_modules/drive_detection.py | 2 +- app/modules/detection_modules/drive_snmp_linux.py | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/module_loader.py b/app/module_loader.py index f818ffb..e1d5118 100644 --- a/app/module_loader.py +++ b/app/module_loader.py @@ -284,7 +284,6 @@ class ModuleLoader: except AttributeError: self.logger.warning("Error : external monitoring module " + mod_name + " could not have been loaded.") self.logger.debug(traceback.format_exc()) - print self.loaded_mod_moni def run_one_monitoring_module(self, part_name, addr_host): """ @@ -294,7 +293,6 @@ class ModuleLoader: :param part_name: the name of the part to check :param addr_host: the IP address of the host """ - print part_name if part_name in self.loaded_mod_moni[part_name]['modules'] and \ getattr(self.loaded_mod_moni[part_name]['modules'][part_name]['imported'], 'connection') == "": # the module which check this part doesn't need a connection diff --git a/app/modules/detection_modules/drive_detection.py b/app/modules/detection_modules/drive_detection.py index 6ff6ea4..8ef9b61 100644 --- a/app/modules/detection_modules/drive_detection.py +++ b/app/modules/detection_modules/drive_detection.py @@ -2,7 +2,7 @@ __author__ = 'aguilbaud' compatible_os = ['linux', 'unix'] connection = "ssh" -part = 'disk' +part = 'Disk' def run_detection(conn): diff --git a/app/modules/detection_modules/drive_snmp_linux.py b/app/modules/detection_modules/drive_snmp_linux.py index 1e27807..0083214 100644 --- a/app/modules/detection_modules/drive_snmp_linux.py +++ b/app/modules/detection_modules/drive_snmp_linux.py @@ -3,7 +3,7 @@ import json compatible_os = ['linux', 'unix'] connection = "snmp_walk" -part = 'disk' +part = 'Disk' def run_detection(conn): oid_mounted_partitions = "1.3.6.1.4.1.2021.9.1.2" -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.