mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
2011-08-09 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added another index on tevento.estado. Thanks Manuel! :-) git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6273186032
commit
9de866ef60
@ -1,3 +1,8 @@
|
|||||||
|
2011-08-09 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added
|
||||||
|
another index on tevento.estado. Thanks Manuel! :-)
|
||||||
|
|
||||||
2011-08-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2011-08-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/help/en/help_agent_status.php
|
* include/help/en/help_agent_status.php
|
||||||
|
@ -107,6 +107,7 @@ ALTER TABLE tusuario_perfil ADD `id_policy` int(10) unsigned NOT NULL default 0;
|
|||||||
|
|
||||||
ALTER TABLE `tevento` MODIFY `event_type` enum('unknown','alert_fired','alert_recovered','alert_ceased','alert_manual_validation','recon_host_detected','system','error','new_agent','going_up_warning','going_up_critical','going_down_warning','going_down_normal','going_down_critical','going_up_normal', 'configuration_change') default 'unknown';
|
ALTER TABLE `tevento` MODIFY `event_type` enum('unknown','alert_fired','alert_recovered','alert_ceased','alert_manual_validation','recon_host_detected','system','error','new_agent','going_up_warning','going_up_critical','going_down_warning','going_down_normal','going_down_critical','going_up_normal', 'configuration_change') default 'unknown';
|
||||||
ALTER TABLE tevento ADD INDEX criticity (`criticity`);
|
ALTER TABLE tevento ADD INDEX criticity (`criticity`);
|
||||||
|
ALTER TABLE tevento ADD INDEX estado (`estado`);
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Change the value "0000-00-00 00:00:00" that Pandora use as zero or null date value
|
-- Change the value "0000-00-00 00:00:00" that Pandora use as zero or null date value
|
||||||
|
@ -430,7 +430,8 @@ CREATE TABLE IF NOT EXISTS `tevento` (
|
|||||||
KEY `indice_1` (`id_agente`,`id_evento`),
|
KEY `indice_1` (`id_agente`,`id_evento`),
|
||||||
KEY `indice_2` (`utimestamp`,`id_evento`),
|
KEY `indice_2` (`utimestamp`,`id_evento`),
|
||||||
KEY `idx_agentmodule` (`id_agentmodule`),
|
KEY `idx_agentmodule` (`id_agentmodule`),
|
||||||
INDEX criticity (`criticity`)
|
INDEX criticity (`criticity`),
|
||||||
|
INDEX estado (`estado`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
-- Criticity: 0 - Maintance (grey)
|
-- Criticity: 0 - Maintance (grey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user