ManageEngine Applications Manager提供了列表服务器API,允许用户按以下类别列出有关服务器的信息:
XML响应API:
http://[ APM Host ]:[ APM Port ]AppManager/xml/ListServer?apikey=[ API Key ]&type=all
JSON响应的API:
http://[ APM Host ]:[ APM Port ]AppManager/json/ListServer?apikey=[ API Key ]&type=all
XML响应API:
http://[ APM Host ]:[ APM Port ]AppManager/xml/ListServer?apikey=[ API Key ]&type=[ Server display name ]
JSON响应的API:
http://[ APM Host ]:[ APM Port ]AppManager/json/ListServer?apikey=[ API Key ]&type=[ Server display name ]
XML响应API:
http://[ APM Host ]:[ APM Port ]AppManager/xml/ListServer?apikey=[ API Key ]&type=[ Server display name ]
JSON响应的API:
http://[ APM Host ]:[ APM Port ]AppManager/json/ListServer?apikey=[ API Key ]&ipaddress=[ IP Address of server ]
字段 | 描述 |
---|---|
API Key | 通过管理标签中的生成API选项生成的密钥。 |
Type | "type=<Server PARENTNODE name>"用于在Applications Manager中列出指定服务器的详细信息。 < Server PARENTNODE name> 在IpAddress表中为PARENTNODE。 |
ipaddress | 服务器的IP地址 |
http://app-windows:9090/AppManager/xml/ListServer?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&type=all
http://app-windows:9090/AppManager/xml/ListServer?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&type=app-windows
http://app-windows:9090/AppManager/xml/ListServer?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&ipaddress=192.123.4.5
服务器名称 | 服务器名称 |
---|---|
Parent IP | 服务器的父网络IP地址 |
resourceid | 服务器的resourceid |
Type | 服务器类型,如Windows |
DISPLAYNAME | 服务器的显示名称,例如XP1 |
IPADDRESS | 服务器的IP地址 |
Service Details | 包含有关服务器中运行的服务的信息。
|
RCALink | 链接到根本原因分析详细信息 |
DetailsPageLink | 链接到服务器的详细信息页面 |
<AppManager-response uri="/AppManager/xml/ListServer">
<result>
<response response-code="4000">
<Server DISPLAYNAME="pavankumar-0549" RESOURCEID="10000038" Name="pavankumar-0549.csez.zohocorpin.com" PARENTIP="10.0.0.0" IPADDRESS="192.168.24.211" TYPE="Windows 7">
<Service ATTRIBUTEID="2100" RESOURCEID="10000043" DISPLAYNAME="pavankumar-0549_Apache Server_9090" describe="Network Resource" RESOURCENAME="IF-pavankumar-0549.csez.zohocorpin.com_Apache-server_9090" DetailsPageLink="/showresource.do?resourceid=10000043&method=showResourceForResourceID" RCALink="/jsp/RCA.jsp?resourceid=10000043&attributeid=2100" TYPE="Apache"/>
<Service ATTRIBUTEID="152" RESOURCEID="10000044" DISPLAYNAME="pavankumar-0549-9090" describe="Network Resource" RESOURCENAME="IF-pavankumar-0549.csez.zohocorpin.com_Port-Test_9090" DetailsPageLink="/showresource.do?resourceid=10000044&method=showResourceForResourceID" RCALink="/jsp/RCA.jsp?resourceid=10000044&attributeid=152" TYPE="Service Monitoring"/>
<Service ATTRIBUTEID="15" RESOURCEID="10000055" DISPLAYNAME="pavankumar-0549_Tomcat Server_9090" describe="Network Resource" RESOURCENAME="IF-pavankumar-0549.csez.zohocorpin.com_Tomcat-server_9090" DetailsPageLink="/showresource.do?resourceid=10000055&method=showResourceForResourceID" RCALink="/jsp/RCA.jsp?resourceid=10000055&attributeid=15" TYPE="Tomcat"/>
<Service ATTRIBUTEID="2000" RESOURCEID="10000149" DISPLAYNAME="pavankumar-0549" describe="Network Resource" RESOURCENAME="IF-pavankumar-0549.csez.zohocorpin.com_IIS-server_80" DetailsPageLink="/showresource.do?resourceid=10000149&method=showResourceForResourceID" RCALink="/jsp/RCA.jsp?resourceid=10000149&attributeid=2000" TYPE="IIS"/>
<Service ATTRIBUTEID="3301" RESOURCEID="10000154" DISPLAYNAME="pavankumar-0549 dot net" describe="Network Resource" RESOURCENAME="IF-pavankumar-0549.csez.zohocorpin.com_.NET" DetailsPageLink="/showresource.do?resourceid=10000154&method=showResourceForResourceID" RCALink="/jsp/RCA.jsp?resourceid=10000154&attributeid=3301" TYPE=".NET"/>
</Server>
</response>
</result>
</AppManager-response>