MyGit

v5.8.0

ccfos/nightingale

版本发布时间: 2022-05-21 17:54:06

ccfos/nightingale最新发布版本:v7.4.1(2024-09-25 15:15:14)

how to upgrade:

  1. backup your custom configurations
  2. wget tarball, untar, replace files
  3. modify config files for your env
  4. execute the sql commands
  5. restart n9e-webapi and n9e-server
  6. migrate dashboard on page /help/migrate, very important !!!
CREATE TABLE `board` (
    `id` bigint unsigned not null auto_increment,
    `group_id` bigint not null default 0 comment 'busi group id',
    `name` varchar(191) not null,
    `tags` varchar(255) not null comment 'split by space',
    `create_at` bigint not null default 0,
    `create_by` varchar(64) not null default '',
    `update_at` bigint not null default 0,
    `update_by` varchar(64) not null default '',
    PRIMARY KEY (`id`),
    UNIQUE KEY (`group_id`, `name`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

CREATE TABLE `board_payload` (
    `id` bigint unsigned not null comment 'dashboard id',
    `payload` mediumtext not null,
    UNIQUE KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;

alter table alert_rule add column `prod` varchar(255) not null default '' after note;
alter table alert_rule add column `algorithm` varchar(255) not null default '' after prod;
alter table alert_rule add column `algo_params` varchar(255) after algorithm;
alter table alert_rule add column `delay` int not null default 0 after algo_params;
alter table alert_cur_event add column `rule_prod` varchar(255) not null default '' after rule_note;
alter table alert_cur_event add column `rule_algo` varchar(255) not null default '' after rule_prod;
alter table alert_his_event add column `rule_prod` varchar(255) not null default '' after rule_note;
alter table alert_his_event add column `rule_algo` varchar(255) not null default '' after rule_prod;
alter table alert_cur_event modify column rule_note varchar(2048) not null default 'alert rule note';
alter table alert_his_event modify column rule_note varchar(2048) not null default 'alert rule note';
alter table alert_rule modify column note varchar(1024) not null default '';

相关地址:原始地址 下载(tar) 下载(zip)

1、 n9e-5.8.0.tar.gz 16.17MB

查看:2022-05-21发行的版本