2010-09-13 Ramon Novoa <rnovoa@artica.es>

* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
          new column to talert_template_modules to support standby alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-09-13 14:21:05 +00:00
parent 8a0aeb8cb0
commit d850cd98fa
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-09-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
new column to talert_template_modules to support standby alerts.
2010-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added the tab to show all graphs in a

View File

@ -74,7 +74,7 @@ ALTER TABLE `tagente_modulo` ADD COLUMN `policy_linked` TINYINT(1) UNSIGNED NOT
-- Table `talert_template_modules`
-- -----------------------------------------------------
ALTER TABLE `talert_template_modules` ADD COLUMN `id_policy_alerts` int(10) unsigned NOT NULL default '0';
ALTER TABLE `talert_template_modules` ADD COLUMN `standby` tinyint(1) default '0';
-- -----------------------------------------------------
-- Table `tsnmp_filter`

View File

@ -287,6 +287,7 @@ CREATE TABLE IF NOT EXISTS `talert_template_modules` (
`last_reference` bigint(20) NOT NULL default '0',
`times_fired` int(3) NOT NULL default '0',
`disabled` tinyint(1) default '0',
`standby` tinyint(1) default '0',
`priority` tinyint(4) default '0',
`force_execution` tinyint(1) default '0',
PRIMARY KEY (`id`),
@ -298,7 +299,7 @@ CREATE TABLE IF NOT EXISTS `talert_template_modules` (
UNIQUE (`id_agent_module`, `id_alert_template`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `talert_template_module_actions` (
CREATE TABLE IF NOT talert_template_module_actions` (
`id` int(10) unsigned NOT NULL auto_increment,
`id_alert_template_module` int(10) unsigned NOT NULL,
`id_alert_action` int(10) unsigned NOT NULL,