修改监控项原型数据
PUT
http://172.16.14.11:8069/api/v1/hosts/template/itemPrototype/1
接口描述
/api/v1/hosts/template/itemPrototype/<int:item_id>, <int:template_id>:填写模板的id
请求头
参数名
类型
描述
必填
Content-Type
string
application/json
必填
请求参数
参数名
类型
描述
必填
uid
string
示例:6
必填
token
string
示例:339f4bf33b017a3aa0bb2d29cfa1bcca18b23ef6o1609904774
必填
name
string
名称,示例:磁盘使用量( 剩%) /
可选
history
string
保存时长,示例:90d
可选
key
string
键值,示例:vfs.fs.size[/,pfree]
可选
delay
string
间隔,示例:1m
可选
item_type
string
监控项类型,示例:0
可选
url
string
URL,示例:
可选
value_type
string
数值类型,示例:0
可选
units
string
单位,示例:%
可选
is_sync
boolean
是否手动更新,示例:false
可选
application_id
int
应用集id
可选