JSON提要用作使用XML在客户端和服务器之间异步传输结构化信息的替代方法。它是一种轻量级的基于文本的开放标准,旨在用于可读的数据交换。使用JSON Feed,您可以将Applications Manager的数据集成到Intranet网页中。
提取JSON Feed的URL请求如下所示:
http://<AppManagerHostname>:<port>/jsonfeed.do?method=[JSONFeedName]&requestParameterName=requestParameterValue
下面列出了Applications Manager中JSON Feed下可用的API:
名称 | 描述 | 请求参数 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
createMonitorGroupFeed | 获取有关业务组状态和监视器状态的信息 |
|
||||||||
示例: http://<AppManagerHostname>:<port> /jsonfeed.do?method=createMonitorGroupFeed | ||||||||||
getMonitorsJSONFeed | 获取有关监视器状态的信息 |
|
||||||||
示例: http://<AppManagerHostname>:<port> /jsonfeed.do?method=getMonitorsJSONFeed | ||||||||||
getParentGroups | 了解给定业务组子组ID的父组的信息 |
|
||||||||
示例: http://<AppManagerHostname>:<port> /jsonfeed.do?method=getParentGroups&haid=10000040 | ||||||||||
getMonitorCount | 获取与给定业务组关联的监视器数。 示例输出: {APP:[5],SYS:[1],NWD:[0]} NWD-网络设备 |
|
||||||||
示例: http://<AppManagerHostname>:<port> /jsonfeed.do?method=getMonitorCount&haid=10000040 | ||||||||||
getConsoleJSONFeed | 该API提供以下选项
|
|
||||||||
示例: http://<AppManagerHostname>:<port> /jsonfeed.do?method=getConsoleJSONFeed&toReturn=allMonInMG&mgId = 10000040 |