level改为warnLevel,mode改为warnMode

This commit is contained in:
陈劲松
2019-08-15 17:05:09 +08:00
parent 378b8d322b
commit 83fb078451

View File

@@ -3695,12 +3695,12 @@ data |Object |R | 
   id |Integer |R |字段id    id |Integer |R |字段id
   name |String |R |字段名称    name |String |R |字段名称
  trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1   trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1
  mode |String |R |告警模式1、单台2、汇总   warnMode |String |R |告警模式1、单台2、汇总
  statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1   statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1
&emsp;&emsp;symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1 &emsp;&emsp;symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1
&emsp;&emsp;threshold |String |R |阈值 &emsp;&emsp;threshold |String |R |阈值
&emsp;&emsp;tips |String |R |告警提示信息 &emsp;&emsp;tips |String |R |告警提示信息
&emsp;&emsp;level |String |R |告警级别1:normal2:info3:warning4:error默认3 &emsp;&emsp;warnLevel |String |R |告警级别1:normal2:info3:warning4:error默认3
&emsp;&emsp;callbackType |String |R |回调方式0:无1shell2http默认0 &emsp;&emsp;callbackType |String |R |回调方式0:无1shell2http默认0
&emsp;&emsp;viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2 &emsp;&emsp;viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2
&emsp;&emsp;remark |String |R |备注 &emsp;&emsp;remark |String |R |备注
@@ -3731,12 +3731,12 @@ data |Object |R |&nbsp;
"name": "使用率" "name": "使用率"
}, },
"trigger": "1", "trigger": "1",
"mode": "2", "warnMode": "2",
"statType": "1", "statType": "1",
"symbol": ">", "symbol": ">",
"threshold": "15", "threshold": "15",
"tips": "enen", "tips": "enen",
"level": "1", "warnLevel": "1",
"callbackType": "", "callbackType": "",
"viewLevel": "", "viewLevel": "",
"remark": "" "remark": ""
@@ -3782,12 +3782,12 @@ data |Object |R |&nbsp;
&emsp;&emsp;id |Integer |R |字段id &emsp;&emsp;id |Integer |R |字段id
&emsp;&emsp;name |String |R |字段名称 &emsp;&emsp;name |String |R |字段名称
&emsp;trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1 &emsp;trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1
&emsp;mode |String |R |告警模式1单台2汇总 &emsp;warnMode |String |R |告警模式1单台2汇总
&emsp;statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1 &emsp;statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1
&emsp;symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1 &emsp;symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1
&emsp;threshold |String |R |阈值 &emsp;threshold |String |R |阈值
&emsp;tips |String |R |告警提示信息 &emsp;tips |String |R |告警提示信息
&emsp;level |String |R |告警级别1:normal2:info3:warning4:error默认3 &emsp;warnLevel |String |R |告警级别1:normal2:info3:warning4:error默认3
&emsp;callbackType |String |R |回调方式0:无1shell2http默认0 &emsp;callbackType |String |R |回调方式0:无1shell2http默认0
&emsp;callbackContent |String |R |回调内容 &emsp;callbackContent |String |R |回调内容
&emsp;viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2 &emsp;viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2
@@ -3815,12 +3815,12 @@ data |Object |R |&nbsp;
"name": "使用率" "name": "使用率"
}, },
"trigger": "1", "trigger": "1",
"mode": "2", "warnMode": "2",
"statType": "1", "statType": "1",
"symbol": ">", "symbol": ">",
"threshold": "15", "threshold": "15",
"tips": "enen", "tips": "enen",
"level": "1", "warnLevel": "1",
"callbackType": "", "callbackType": "",
"viewLevel": "", "viewLevel": "",
"remark": "" "remark": ""
@@ -3843,12 +3843,12 @@ deteTypeId |Integer |R |监测类别id
deteSetIds |Integer[] |O |监测设置id deteSetIds |Integer[] |O |监测设置id
metaId |Integer |R |告警字段id metaId |Integer |R |告警字段id
trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1 trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1
mode |String |R |告警模式1单台2汇总 warnMode |String |R |告警模式1单台2汇总
statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1 statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1
symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1 symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1
threshold |String |R |阈值 threshold |String |R |阈值
tips |String |R |告警提示信息 tips |String |R |告警提示信息
level |String |R |告警级别1:normal2:info3:warning4:error默认3 warnLevel |String |R |告警级别1:normal2:info3:warning4:error默认3
callbackType |String |R |回调方式0:无1shell2http默认0 callbackType |String |R |回调方式0:无1shell2http默认0
callbackContent |String |R |回调内容 callbackContent |String |R |回调内容
viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2 viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2
@@ -3863,12 +3863,12 @@ remark |String |R |备注
"deteSetIds": [1,2,3], "deteSetIds": [1,2,3],
"metaId": 1, "metaId": 1,
"trigger": "", "trigger": "",
"mode": "", "warnMode": "",
"statType": "", "statType": "",
"symbol": "", "symbol": "",
"threshold": "", "threshold": "",
"tips": "", "tips": "",
"level": "", "warnLevel": "",
"callbackType": "", "callbackType": "",
"callbackContent": "", "callbackContent": "",
"viewLevel": "", "viewLevel": "",
@@ -3906,12 +3906,12 @@ id |Integer |R |主键
name |String |R |&nbsp; name |String |R |&nbsp;
metaId |Integer |R |告警字段id metaId |Integer |R |告警字段id
trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1 trigger |String |R |1:阈值触发,2变化触发当本次监测数值与上次不一致时触发用于配置文件是否修改等,3主动默认1
mode |String |R |告警模式1单台2汇总 warnMode |String |R |告警模式1单台2汇总
statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1 statType |String |R |1:avg 2:count 3:sum 4:min 5:max默认1
symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1 symbol |String |R |1:> 2:< 3:= 4:equals 5:include 6:exclude 默认1
threshold |String |R |阈值 threshold |String |R |阈值
tips |String |R |告警提示信息 tips |String |R |告警提示信息
level |String |R |告警级别1:normal2:info3:warning4:error默认3 warnLevel |String |R |告警级别1:normal2:info3:warning4:error默认3
callbackType |String |R |回调方式0:无1shell2http默认0 callbackType |String |R |回调方式0:无1shell2http默认0
callbackContent |String |R |回调内容 callbackContent |String |R |回调内容
viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2 viewLevel |String |R |1:用户组2系统内全部人员3无限制默认2
@@ -3930,7 +3930,7 @@ remark |String |R |备注
"symbol": "", "symbol": "",
"threshold": "", "threshold": "",
"tips": "", "tips": "",
"level": "", "warnLevel": "",
"callbackType": "", "callbackType": "",
"callbackContent": "", "callbackContent": "",
"viewLevel": "", "viewLevel": "",