ManageEngine® Applications Manager


List Server API

<< Prev

Home

Next >>

List Server API

 

ManageEngine Applications Manager provides List Server API that allows the user to list information about the server by the following categories.

APIs for ListServer:


1.   Listing all the added servers


http://[ Host ]:[ Port ]/AppManager/xml/ListServer?apikey=[ API key ]&type=all

 

2.  By server name

http://[ Host ]:[ Port ]/AppManager/xml/ListServer?apikey=[ API key ]&type=[ Server display name ]

3.  By IP Address

http://[ Host ]:[ Port ]/AppManager/xml/ListServer?apikey=[ API key ]&ipaddress=[ IP Address of server ]

Request Parameters
Field Description        
API Key The key generated from "Generate API " option in the Admin tab.
Type "type=<Server PARENTNODE name>" is used to list details of specified server in Applications Manager
< Server PARENTNODE name>  is PARENTNODE in IpAddress table.
ipaddress ipaddress = [IP Address of server]

Example API that is used to get the XMLof all servers and their services details

 

http://app-windows:9090/AppManager/xml/ListServer?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&type=all

 

Example API that is used to get XML of a particular server and it's services details.

http://app-windows:9090/AppManager/xml/ListServer?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&type=app-windows

 

 

API for XML Response :

http://[ APM Host ]:[ APM Port ]/AppManager/xml/ListServer?apikey=[ API Key ]&type=all

 

API for JSON Response :

http://[ APM Host ]:[ APM Port ]/AppManager/json/ListServer?apikey=[ API Key ]&type=all


Example output:

Server Details:

Server Name Name of the Server
Parent IP Parent Network IP address of the Server
resourceid Resource ID of the Server
Type Server Type like Windows
DISPLAYNAME Display Name of the Server like XP1
IPADDRESS IP Address of the Server
Service Details

Contains information about the services running in the server.

 

Service DISPLAYNAME - Display Name of the Service

TYPE - Type of the service like SNMP

RESOURCEID - Resource ID of the Service

RESOURCENAME - Resource Name of the Service

DESCRIPTION - Description of the Resource like Network Resource

ATTRIBUTEID - Service Attribute ID

RCALink Link to Root Cause Analysis details
DetailsPageLink Link to the Details page of the Server


<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" DESCRIPTION="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" DESCRIPTION="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" DESCRIPTION="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" DESCRIPTION="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" DESCRIPTION="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>

 

 

<< Prev

Home

Next >>

ListMonitorTypes API

Search API