获取模板列表
GET
http://172.16.14.11:8069/api/v1/hosts/template/
请求头
参数名
类型
描述
必填
Content-Type
string
示例:application/json
必填
请求参数
响应参数
参数名
类型
描述
必填
code
string
示例:200
必填
msg
string
示例:请求成功
必填
id
int
模板id,示例:3
必填
name
string
模板名字,示例:Template OS Linux
必填
type
boolean
模板类型,net:网络模板;host:主机模板,示例:net(false则是没填)
必填
description
string
模板描述,示例:
必填
item_count
int
监控项数量
必填
trigger_count
int
触发器数量
必填
application_count
int
应用集数量
必填
macro_count
int
宏数量
必填
rule_count
int
规则数量
必填
graph_count
int
图形数量
必填
dashboard_count
int
聚合图形数量
必填
total
int
数据总量,示例:129
必填