获取模板触发器列表
GET
http://172.16.14.11:8069/api/v1/hosts/template/3/triggerPrototype
接口描述
/api/v1/hosts/template/<int:template_id>/triggerPrototype
请求参数
响应参数
参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
id
int
id,示例:4126
必填
description
string
描述,示例:Host name of zabbix_agentd was changed on {HOST.NAME}
必填
expression
string
表达式,示例:{32963}>0
必填
priority
string
严重性,示例:('0', '未分类'), ('1', '信息'), ('2', '警告'), ('3', '一般严重'), ('4', '严重'), ('5', '灾难')
必填
creator
string
创建人,示例:Administrator
必填
create_time
string
创建时间,示例:2021-01-15 03:04:00
必填
total
int
示例:212
必填