2011-08-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* pandoradb.oracle.sql: Added columns 'module_action_threshold'
        and 'last_execution' on 'talert_template_module_actions' table.
        * include/functions_agents.php: Correct bad sintax query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-08-17 11:25:46 +00:00
parent 2c083af702
commit 44d2e50f37
3 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2011-08-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Added columns 'module_action_threshold' and
'last_execution' on 'talert_template_module_actions' table.
* include/functions_agents.php: Correct bad sintax query.
2011-08-17 Dario Rodriguez <dario.rodriguez@artica.es>
* images/networkmap/so_vmware.png: Added icon of VMware for networkamps

View File

@ -1035,15 +1035,7 @@ function agents_get_modules ($id_agent = null, $details = false, $filter = false
}
if (empty ($details)) {
switch ($config['dbtype']){
case "mysql":
case "postgresql":
$details = "nombre";
break;
case "oracle":
$details = "nombre";
break;
}
$details = "nombre";
}
else {
if ($config['dbtype'] == 'oracle'){

View File

@ -353,7 +353,9 @@ CREATE TABLE talert_template_module_actions (
id_alert_template_module NUMBER(10, 0) NOT NULL REFERENCES talert_template_modules(id) ON DELETE CASCADE,
id_alert_action NUMBER(10, 0) NOT NULL REFERENCES talert_actions(id) ON DELETE CASCADE,
fires_min NUMBER(10, 0) default 0 NOT NULL,
fires_max NUMBER(10, 0) default 0 NOT NULL
fires_max NUMBER(10, 0) default 0 NOT NULL,
module_action_threshold NUMBER(10, 0) default 0 NOT NULL,
last_execution NUMBER(18, 0) default 0 NOT NULL
);
CREATE SEQUENCE talert_template_modu_actions_s INCREMENT BY 1 START WITH 1;