You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
可以是go模版,也可以是api接口
go模版类似于 {{.Servers}}
api接口:api/v1/monitor/1
需要的返回数据结构
[
network: [
monitorList:[
{id: 43,name: '北京移动'},
{id: 44,name: '北京联通'},
{id: 45,name: '北京电信'}
],
serverList: [1,2,3,5,6]
]
]
说明:
monitorList: 后台服务页配置的TCP-Ping,ICMP Ping类型的监控项目
serverList: 后台服务页配置的TCP-Ping,ICMP Ping所有监控项目的去重后的服务器id
用途:
Beta Was this translation helpful? Give feedback.
All reactions