operator fields for event_rule
This commit is contained in:
parent
9cea131378
commit
43ecba3bbb
|
@ -12,6 +12,20 @@ ALTER TABLE `tevent_rule` ADD COLUMN `log_content` TEXT;
|
||||||
ALTER TABLE `tevent_rule` ADD COLUMN `log_source` TEXT;
|
ALTER TABLE `tevent_rule` ADD COLUMN `log_source` TEXT;
|
||||||
ALTER TABLE `tevent_rule` ADD COLUMN `log_agent` TEXT;
|
ALTER TABLE `tevent_rule` ADD COLUMN `log_agent` TEXT;
|
||||||
|
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_agent` text DESC 'Operator for agent';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_usuario` text DESC 'Operator for id_usuario';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_grupo` text DESC 'Operator for id_grupo';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_evento` text DESC 'Operator for evento';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_event_type` text DESC 'Operator for event_type';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_module` text DESC 'Operator for module';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_alert` text DESC 'Operator for alert';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_criticity` text DESC 'Operator for criticity';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_user_comment` text DESC 'Operator for user_comment';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_tag` text DESC 'Operator for id_tag';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_content` text DESC 'Operator for log_content';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_source` text DESC 'Operator for log_source';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_agent` text DESC 'Operator for log_agent';
|
||||||
|
|
||||||
CREATE TABLE `tremote_command` (
|
CREATE TABLE `tremote_command` (
|
||||||
`id` SERIAL,
|
`id` SERIAL,
|
||||||
`name` varchar(150) NOT NULL,
|
`name` varchar(150) NOT NULL,
|
||||||
|
|
|
@ -567,6 +567,20 @@ ALTER TABLE `tevent_rule` ADD COLUMN `group_recursion` INT(1) unsigned default 0
|
||||||
ALTER TABLE `tevent_rule` ADD COLUMN `log_content` TEXT;
|
ALTER TABLE `tevent_rule` ADD COLUMN `log_content` TEXT;
|
||||||
ALTER TABLE `tevent_rule` ADD COLUMN `log_source` TEXT;
|
ALTER TABLE `tevent_rule` ADD COLUMN `log_source` TEXT;
|
||||||
ALTER TABLE `tevent_rule` ADD COLUMN `log_agent` TEXT;
|
ALTER TABLE `tevent_rule` ADD COLUMN `log_agent` TEXT;
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_agent` text DESC 'Operator for agent';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_usuario` text DESC 'Operator for id_usuario';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_grupo` text DESC 'Operator for id_grupo';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_evento` text DESC 'Operator for evento';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_event_type` text DESC 'Operator for event_type';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_module` text DESC 'Operator for module';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_alert` text DESC 'Operator for alert';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_criticity` text DESC 'Operator for criticity';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_user_comment` text DESC 'Operator for user_comment';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_id_tag` text DESC 'Operator for id_tag';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_content` text DESC 'Operator for log_content';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_source` text DESC 'Operator for log_source';
|
||||||
|
ALTER TABLE `tevent_rule` ADD COLUMN `operator_log_agent` text DESC 'Operator for log_agent';
|
||||||
|
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tevent_alert`
|
-- Table `tevent_alert`
|
||||||
|
|
|
@ -2785,6 +2785,19 @@ CREATE TABLE IF NOT EXISTS `tevent_rule` (
|
||||||
`log_content` text,
|
`log_content` text,
|
||||||
`log_source` text,
|
`log_source` text,
|
||||||
`log_agent` text,
|
`log_agent` text,
|
||||||
|
`operator_agent` text DESC 'Operator for agent',
|
||||||
|
`operator_id_usuario` text DESC 'Operator for id_usuario',
|
||||||
|
`operator_id_grupo` text DESC 'Operator for id_grupo',
|
||||||
|
`operator_evento` text DESC 'Operator for evento',
|
||||||
|
`operator_event_type` text DESC 'Operator for event_type',
|
||||||
|
`operator_module` text DESC 'Operator for module',
|
||||||
|
`operator_alert` text DESC 'Operator for alert',
|
||||||
|
`operator_criticity` text DESC 'Operator for criticity',
|
||||||
|
`operator_user_comment` text DESC 'Operator for user_comment',
|
||||||
|
`operator_id_tag` text DESC 'Operator for id_tag',
|
||||||
|
`operator_log_content` text DESC 'Operator for log_content',
|
||||||
|
`operator_log_source` text DESC 'Operator for log_source',
|
||||||
|
`operator_log_agent` text DESC 'Operator for log_agent',
|
||||||
PRIMARY KEY (`id_event_rule`),
|
PRIMARY KEY (`id_event_rule`),
|
||||||
KEY `idx_id_event_alert` (`id_event_alert`)
|
KEY `idx_id_event_alert` (`id_event_alert`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
Loading…
Reference in New Issue