From b0823dd5db7e31462b4a24ab7f10cdcffb57a264 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 14 Feb 2013 11:27:57 +0000 Subject: [PATCH] 2013-02-14 Miguel de Dios * include/constants.php: added constant for module type of "MODULE_SNMP" and sorted the list of types of modules. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/constants.php | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 77473a29cc..d98070dc77 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2013-02-14 Miguel de Dios + + * include/constants.php: added constant for module type of + "MODULE_SNMP" and sorted the list of types of modules. + 2013-02-14 Miguel de Dios * godmode/agentes/module_manager_editor_common.php, diff --git a/pandora_console/include/constants.php b/pandora_console/include/constants.php index f0a1df6c83..eb26b3c057 100644 --- a/pandora_console/include/constants.php +++ b/pandora_console/include/constants.php @@ -222,8 +222,10 @@ define ('EVENT_CRIT_WARNING_OR_CRITICAL', 34); define ('EVENT_CRIT_NOT_NORMAL', 20); /* Id Module (more use in component)*/ -define ('MODULE_WMI', 6); +define ('MODULE_DATA', 1); define ('MODULE_NETWORK', 2); +define ('MODULE_SNMP', 2); define ('MODULE_PLUGIN', 4); +define ('MODULE_WMI', 6); define ('MODULE_WEB', 7); ?> \ No newline at end of file