Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
nightingale
提交
29a0dbe1
N
nightingale
项目概览
DiDi
/
nightingale
10 个月 前同步成功
通知
46
Star
7053
Fork
1161
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nightingale
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
GitCode(gitcode.net)2024年7月9日维护升级公告
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
29a0dbe1
编写于
3月 16, 2020
作者:
U
Ulric Qin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use varchar(255) not varchar(256)
上级
e3217837
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
sql/n9e_mon.sql
sql/n9e_mon.sql
+8
-8
未找到文件。
sql/n9e_mon.sql
浏览文件 @
29a0dbe1
...
...
@@ -91,8 +91,8 @@ create table `tmp_chart` (
create
table
`event_cur`
(
`id`
bigint
(
20
)
unsigned
not
null
AUTO_INCREMENT
comment
'id'
,
`sid`
bigint
(
20
)
unsigned
not
null
default
0
comment
'sid'
,
`sname`
varchar
(
25
6
)
not
null
default
''
comment
'name, 报警通知名称'
,
`node_path`
varchar
(
25
6
)
not
null
default
''
comment
'node path'
,
`sname`
varchar
(
25
5
)
not
null
default
''
comment
'name, 报警通知名称'
,
`node_path`
varchar
(
25
5
)
not
null
default
''
comment
'node path'
,
`nid`
int
unsigned
not
null
default
'0'
comment
'node id'
,
`endpoint`
varchar
(
255
)
not
null
default
''
comment
'endpoint'
,
`endpoint_alias`
varchar
(
255
)
not
null
default
''
comment
'endpoint alias'
,
...
...
@@ -103,7 +103,7 @@ create table `event_cur` (
`detail`
text
comment
'counter points pred_points 详情'
,
`hashid`
varchar
(
128
)
not
null
default
''
comment
'sid+counter hash'
,
`etime`
bigint
(
20
)
not
null
default
0
comment
'event ts'
,
`value`
varchar
(
25
6
)
not
null
default
''
comment
'当前值'
,
`value`
varchar
(
25
5
)
not
null
default
''
comment
'当前值'
,
`users`
varchar
(
512
)
not
null
default
'[]'
comment
'notify users'
,
`groups`
varchar
(
512
)
not
null
default
'[]'
comment
'notify groups'
,
`info`
varchar
(
512
)
not
null
default
''
comment
'strategy info'
,
...
...
@@ -122,8 +122,8 @@ create table `event_cur` (
create
table
`event`
(
`id`
bigint
(
20
)
unsigned
not
null
AUTO_INCREMENT
comment
'id'
,
`sid`
bigint
(
20
)
unsigned
not
null
default
0
comment
'sid'
,
`sname`
varchar
(
25
6
)
not
null
default
''
comment
'name, 报警通知名称'
,
`node_path`
varchar
(
25
6
)
not
null
default
''
comment
'node path'
,
`sname`
varchar
(
25
5
)
not
null
default
''
comment
'name, 报警通知名称'
,
`node_path`
varchar
(
25
5
)
not
null
default
''
comment
'node path'
,
`nid`
int
unsigned
not
null
default
'0'
comment
'node id'
,
`endpoint`
varchar
(
255
)
not
null
default
''
comment
'endpoint'
,
`endpoint_alias`
varchar
(
255
)
not
null
default
''
comment
'endpoint alias'
,
...
...
@@ -134,7 +134,7 @@ create table `event` (
`detail`
text
comment
'counter points pred_points 详情'
,
`hashid`
varchar
(
128
)
not
null
default
''
comment
'sid+counter hash'
,
`etime`
bigint
(
20
)
not
null
default
0
comment
'event ts'
,
`value`
varchar
(
25
6
)
not
null
default
''
comment
'当前值'
,
`value`
varchar
(
25
5
)
not
null
default
''
comment
'当前值'
,
`users`
varchar
(
512
)
not
null
default
'[]'
comment
'notify users'
,
`groups`
varchar
(
512
)
not
null
default
'[]'
comment
'notify groups'
,
`info`
varchar
(
512
)
not
null
default
''
comment
'strategy info'
,
...
...
@@ -167,8 +167,8 @@ CREATE TABLE `stra` (
`converge`
varchar
(
45
)
NOT
NULL
DEFAULT
''
COMMENT
'n秒最多报m次警'
,
`recovery_notify`
int
(
1
)
NOT
NULL
DEFAULT
1
COMMENT
'1 发送恢复通知 0不发送恢复通知'
,
`priority`
int
(
1
)
NOT
NULL
DEFAULT
3
COMMENT
'告警等级'
,
`notify_group`
varchar
(
25
6
)
NOT
NULL
DEFAULT
''
COMMENT
'告警通知组'
,
`notify_user`
varchar
(
25
6
)
NOT
NULL
DEFAULT
''
COMMENT
'告警通知人'
,
`notify_group`
varchar
(
25
5
)
NOT
NULL
DEFAULT
''
COMMENT
'告警通知组'
,
`notify_user`
varchar
(
25
5
)
NOT
NULL
DEFAULT
''
COMMENT
'告警通知人'
,
`callback`
varchar
(
1024
)
NOT
NULL
DEFAULT
''
COMMENT
'callback url'
,
`creator`
varchar
(
64
)
NOT
NULL
COMMENT
'创建者'
,
`created`
timestamp
NOT
NULL
DEFAULT
'1971-01-01 00:00:00'
COMMENT
'created'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录