ManageEngine® Applications Manager 列出业务组明细 |
||
这个API可以获取给出的监视组ID对应的业务组的明细信息,包括业务组中配置的所有子组以及关联的监视器,也包括监视器关联到的用户。同时,它也包含业务组今天的可用性,子组和关联的监视器的健康中断。
XML响应API:
http://[ APM Host ]:[ APM Port ]/AppManager/xml/ListMGDetails?apikey=[ API Key ]&groupId=10000048
JSON响应API:
http://[ APM Host ]:[ APM Port ]/AppManager/json/ListMGDetails?apikey=[ API Key ]&groupName=''Test Group'
请求参数
字段 | 描述 |
groupId | 使用业务组ID来获取业务组,以及和它关联的监视器 |
groupName | 使用业务组名称来获取业务组,以及和它关联的监视器 |
响应明细
字段 | 描述 |
NAME \ DISPLAYNAME | 这是这个组的显示名 |
DetailsPageURL | 这是这个组详情页面的URL |
TODAYUNAVAILPERCENT | 这是这个组今天的可用性为不可用的百分比 |
Action | 这个表示动作是否启动 |
TODAYAVAILPERCENT | 这是这个业务组今天的可用性可用百分比 |
TODAYSCHEDDOWNPERCENT | 这是这个业务组今天的计划停机时间百分比 |
Type | 这代表组的类型 |
HEALTHSEVERITY | 这代表这个组的健康性状态 |
AVAILABILITYSEVERITY | 这代表这个组的可用性状态 |
AVAILABILITYMESSAGE | 这代表这个组的可用性消息 |
RESOURCEID | 这是这个组的resourceid |
HealthRCAURL | 这是这个组健康性的RCA的URL |
TODAYUNMANGDPERCENT | 这是业务组今天的未管理百分比 |
HEALTHMESSAGE | 这代表这个组健康性的消息 |
HEALTHSTATUS | 这是这个组的健康性状态 |
AVAILABILITYSTATUS | 这是这个组可用性状态 |
SubMonitorGroup | DetailsPageURL ---------> 这是子组的详情页面 TODAYUNAVAILPERCENT ---------> 这是这个子组今天不可用的百分比 AvailabilityRCAURL ---------> 这是子组可用性RCA的URL Action ---------> 这是子组的动作状态 NAME \ DISPLAYNAME ---------> 这是子组的显示名称 TODAYAVAILPERCENT ---------> 这是子组今天的可用百分比 TODAYSCHEDDOWNPERCENT ---------> 这是子组今天的计划停机时间百分比 HEALTHSEVERITY --------->这是子组的健康性状态 TYPE ---------> 这代表组的类型 AVAILABILITYSEVERITY ---------> 这是子组的可用性状态 AVAILABILITYMESSAGE ---------> 这是子组的可用性消息 RESOURCEID ---------> 这是子组的resourceid HealthRCAURL ---------> 这是子组的健康性RCA的URL TODAYUNMANGDPERCENT ---------> 这是子组今天的未管理百分比 HEALTHMESSAGE ---------> 这是子组的健康性消息 HEALTHSTATUS ---------> 这只子组的健康性状态 AVAILABILITYSTATUS ---------> 这是自主的可用性状态 |
Monitors | DetailsPageURL ---------> 这是监视器明细页面 TODAYUNAVAILPERCENT ---------> 这是这个监视器今天的不可用百分比 AvailabilityRCAURL ---------> 这是监视器可用性RCA的URL Action ---------> 这是监视器的动作状态 NAME \ DISPLAYNAME ---------> 这是监视器的显示名称 TODAYAVAILPERCENT ---------> 这是监视器今天的可用性百分比 TODAYSCHEDDOWNPERCENT ---------> 这是监视器今天的计划停机时间百分比 HEALTHSEVERITY ---------> 这是监视器的健康严重级别 TYPE ---------> 这是监视器的类型 AVAILABILITYSEVERITY ---------> 这是监视器可用性的严重级别 AVAILABILITYMESSAGE ---------> 这是监视器的可用性消息 RESOURCEID ---------> 这是监视器的resourceid HealthRCAURL ---------> 这是监视器健康性RCA的URL TODAYUNMANGDPERCENT ---------> 这是监视器今天的未管理百分比 HEALTHMESSAGE ---------> 这是监视器健康性的消息 HEALTHSTATUS ---------> 这是监视器的健康状态 AVAILABILITYSTATUS ---------> 这是监视器的可用性状态 |
<AppManager-response uri="/AppManager/xml/ListMGDetails"> <result> <response response-code="4000"> <MonitorGroups> <MonitorGroup DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000035&method=showApplication" TODAYUNAVAILPERCENT="0.0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000035&attributeid=17" Action="enabled" NAME="Applications Manager" TODAYAVAILPERCENT="100.0" TODAYSCHEDDOWNPERCENT="0.0" Type="Monitor Group" HEALTHSEVERITY="1" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource Applications Manager is up. <br>Root Cause : <br>Resource is Up" RESOURCEID="10000035" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000035&attributeid=18" TODAYUNMANGDPERCENT="0.0" HEALTHMESSAGE="Health of Applications Manager is critical. <br>Root Cause : <br><ol><li>Health of pavankumar-0549 is critical. <br>Root Cause : <br>1. Application Layer Gateway Service is down<br>2. Application Identity is down<br>3. Application Information is down<br></li><li>Health of appman sub1 is critical. <br>Root Cause : <br><ol><li>Health of pavankumar-0549 is critical. <br>Root Cause : <br>1. Application Layer Gateway Service is down<br>2. Application Identity is down<br>3. Application Information is down<br></li></ol></li><li>Health of pavankumar-0549_Tomcat Server_9090 is critical. <br>Root Cause : <br>1. Average Response Time 2694 > 2000 ms (threshold).<br></li></ol>" DISPLAYNAME="Applications Manager" HEALTHSTATUS="critical" AVAILABILITYSTATUS="up"> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000042&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000042&attributeid=17" Action="enabled" NAME="127.0.0.1_MS SQL_pavansqlexpress" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="5" TYPE="MSSQL-DB-server" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource 127.0.0.1_MS SQL_pavansqlexpress is available." RESOURCEID="10000042" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000042&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of 127.0.0.1_MS SQL_pavansqlexpress is clear. <br>Root Cause : <br>1. 127.0.0.1_MS SQL_pavansqlexpress is up<br>2. Buffer Hit Ratio 100 > 90 % (threshold).<br>3. is clear.<br>4. master is ONLINE <br>5. model is ONLINE <br>6. msdb is ONLINE <br>7. tempdb is ONLINE <br>8. AMDB_10100 is ONLINE <br>9. AMDB_10030 is ONLINE <br>10. AMDB_test is ONLINE <br>11. syspolicy_purge_history --> Scheduled Job syspolicy_purge_history. is clear. <br>12. AMDB_app_xp4_admin is ONLINE <br>13. AMDB_app_xp4_admin1 is ONLINE <br>14. AMDB_pavan_admin is ONLINE <br>15. AMDB_pavan_MANAGED is ONLINE <br>16. AMDB_imac is ONLINE <br>17. AMDB_ADMIN is ONLINE <br>18. AMD_10100 is ONLINE <br>19. AMDB_sahad is ONLINE <br>" HEALTHSTATUS="clear" DISPALYNAME="127.0.0.1_MS SQL_pavansqlexpress" AVAILABILITYSTATUS="up"/> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000045&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000045&attributeid=17" Action="enabled" NAME="AppManager Home Page" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="5" TYPE="UrlMonitor" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource AppManager Home Page is available.ResponseCode - 200" RESOURCEID="10000045" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000045&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of AppManager Home Page is clear. <br>Root Cause : <br>1. AppManager Home Page is up<br>2. Response Time 33 <= 1500 ms (threshold).<br>" HEALTHSTATUS="clear" DISPALYNAME="AppManager Home Page" AVAILABILITYSTATUS="up"/> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000038&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000038&attributeid=17" Action="enabled" NAME="pavankumar-0549" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="1" TYPE="Windows 7" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource pavankumar-0549 is available." RESOURCEID="10000038" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000038&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of pavankumar-0549 is critical. <br>Root Cause : <br>1. Application Layer Gateway Service is down<br>2. Application Identity is down<br>3. Application Information is down<br>" HEALTHSTATUS="critical" DISPALYNAME="pavankumar-0549" AVAILABILITYSTATUS="up"/> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000044&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000044&attributeid=17" Action="enabled" NAME="pavankumar-0549-9090" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="5" TYPE="Port-Test" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource pavankumar-0549-9090 is available." RESOURCEID="10000044" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000044&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of pavankumar-0549-9090 is clear. <br>Root Cause : <br>1. Response Time 24 <= 1500 ms (threshold).<br>2. pavankumar-0549-9090 is up<br>" HEALTHSTATUS="clear" DISPALYNAME="pavankumar-0549-9090" AVAILABILITYSTATUS="up"/> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000043&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000043&attributeid=17" Action="enabled" NAME="pavankumar-0549_Apache Server_9090" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="5" TYPE="Apache-server" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource pavankumar-0549_Apache Server_9090 is available." RESOURCEID="10000043" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000043&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of pavankumar-0549_Apache Server_9090 is clear. <br>Root Cause : <br>1. pavankumar-0549_Apache Server_9090 is up<br>2. Response Time 6 <= 1500 ms (threshold).<br>" HEALTHSTATUS="clear" DISPALYNAME="pavankumar-0549_Apache Server_9090" AVAILABILITYSTATUS="up"/> <Monitors DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000055&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000055&attributeid=17" Action="enabled" NAME="pavankumar-0549_Tomcat Server_9090" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="1" TYPE="Tomcat-server" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource up. <br>The resource pavankumar-0549_Tomcat Server_9090 is available." RESOURCEID="10000055" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000055&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="Health of pavankumar-0549_Tomcat Server_9090 is critical. <br>Root Cause : <br>1. Average Response Time 2694 > 2000 ms (threshold).<br>" HEALTHSTATUS="critical" DISPALYNAME="pavankumar-0549_Tomcat Server_9090" AVAILABILITYSTATUS="up"/> <SubMonitorGroup DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10000267&method=showApplication" TODAYUNAVAILPERCENT="0.0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10000267&attributeid=17" Action="enabled" NAME="appman sub1" TODAYAVAILPERCENT="100.0" TODAYSCHEDDOWNPERCENT="0.0" HEALTHSEVERITY="1" TYPE="Sub Group" AVAILABILITYSEVERITY="5" AVAILABILITYMESSAGE="Resource appman sub1 is up. <br>Root Cause : <br>Resource is Up" RESOURCEID="10000267" HealthRCAURL="/jsp/RCA.jsp?resourceid=10000267&attributeid=18" TODAYUNMANGDPERCENT="0.0" HEALTHMESSAGE="Health of appman sub1 is critical. <br>Root Cause : <br><ol><li>Health of pavankumar-0549 is critical. <br>Root Cause : <br>1. Application Layer Gateway Service is down<br>2. Application Identity is down<br>3. Application Information is down<br></li></ol>" HEALTHSTATUS="critical" DISPALYNAME="appman sub1" AVAILABILITYSTATUS="up"/> <SubMonitorGroup DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10001149&method=showApplication" TODAYUNAVAILPERCENT="0.0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10001149&attributeid=17" Action="enabled" NAME="Opman" TODAYAVAILPERCENT="100.0" TODAYSCHEDDOWNPERCENT="0.0" HEALTHSEVERITY="-" TYPE="Sub Group" AVAILABILITYSEVERITY="-" AVAILABILITYMESSAGE="-" RESOURCEID="10001149" HealthRCAURL="/jsp/RCA.jsp?resourceid=10001149&attributeid=18" TODAYUNMANGDPERCENT="0.0" HEALTHMESSAGE="-" HEALTHSTATUS="UnKnown" DISPALYNAME="Opman" AVAILABILITYSTATUS="UnKnown"> <SubMonitorGroup DetailsPageURL="/showresource.do?method=showResourceForResourceID&resourceid=10001151&method=showApplication" TODAYUNAVAILPERCENT="0" AvailabilityRCAURL="/jsp/RCA.jsp?resourceid=10001151&attributeid=17" Action="enabled" NAME="123" TODAYAVAILPERCENT="100" TODAYSCHEDDOWNPERCENT="0" HEALTHSEVERITY="-" TYPE="Sub Group" AVAILABILITYSEVERITY="-" AVAILABILITYMESSAGE="-" RESOURCEID="10001151" HealthRCAURL="/jsp/RCA.jsp?resourceid=10001151&attributeid=18" TODAYUNMANGDPERCENT="0" HEALTHMESSAGE="-" HEALTHSTATUS="UnKnown" DISPALYNAME="123" AVAILABILITYSTATUS="UnKnown"/> </MonitorGroup> </MonitorGroups> </response> </result> </AppManager-response> |
JSON输入 http://apm-prod1:9090/AppManager/json/ListMGDetails?apikey=c4e547c2330e2eb92d3e7af2262da9e9&type=all
JSON响应 {"response-code":"4000","response":{"uri":"/AppManager/json/ListMGDetails","result":[{"DetailsPageURL":"/showresource.do?method=showResourceForResourceID&resourceid=20000036&method=showApplication","Monitors":[{"DetailsPageURL":"/showresource.do?method=showResourceForResourceID&resourceid=20000043&method=showApplication","TODAYUNAVAILPERCENT":"0","AvailabilityRCAURL":"/jsp/RCA.jsp?resourceid=20000043&attributeid=17","Action":"enabled","NAME":"AppManager Home Page","TODAYAVAILPERCENT":"100","TODAYSCHEDDOWNPERCENT":"0","HEALTHSEVERITY":"1","TYPE":"UrlMonitor","AVAILABILITYSEVERITY":"1","AVAILABILITYMESSAGE":"Resource down. <br>The resource AppManager Home Page is not available.Connection Timed Out. Increase the time out level:ResponseCode -200<br>-->>","RESOURCEID":"20000043","HealthRCAURL":"/jsp/RCA.jsp?resourceid=20000043&attributeid=18","TODAYUNMANGDPERCENT":"0","HEALTHMESSAGE":"Health of AppManager Home Page is critical. <br>Root Cause : <br>1. AppManager Home Page is down<br>","HEALTHSTATUS":"critical","DISPALYNAME":"AppManager Home Page","AVAILABILITYSTATUS":"down"},{"DetailsPageURL":"/showresource.do?method=showResourceForResourceID&resourceid=20000041&method=showApplication","TODAYUNAVAILPERCENT":"0","AvailabilityRCAURL":"/jsp/RCA.jsp?resourceid=20000041&attributeid=17","Action":"enabled","NAME":"apm-prod1_Apache Server_9090","TODAYAVAILPERCENT":"100","TODAYSCHEDDOWNPERCENT":"0","HEALTHSEVERITY":"5","TYPE":"Apache-server","AVAILABILITYSEVERITY":"5","AVAILABILITYMESSAGE":"Resource up. <br>The resource apm-prod1_Apache Server_9090 is available.","RESOURCEID":"20000041","HealthRCAURL":"/jsp/RCA.jsp?resourceid=20000041&attributeid=18","TODAYUNMANGDPERCENT":"0","HEALTHMESSAGE":"Health of apm-prod1_Apache Server_9090 is clear. <br>Root Cause : <br>1. apm-prod1_Apache Server_9090 is up<br>2. Response Time聽 16 <= 1500 ms (threshold).<br>","HEALTHSTATUS":"clear","DISPALYNAME":"apm-prod1_Apache Server_9090","AVAILABILITYSTATUS":"up"},{"DetailsPageURL":"/showresource.do?method=showResourceForResourceID&resourceid=20000039&method=showApplication","TODAYUNAVAILPERCENT":"0","AvailabilityRCAURL":"/jsp/RCA.jsp?resourceid=20000039&attributeid=17","Action":"enabled","NAME":"apm-prod1_Windows Vista","TODAYAVAILPERCENT":"100","TODAYSCHEDDOWNPERCENT":"0","HEALTHSEVERITY":"5","TYPE":"Windows Vista","AVAILABILITYSEVERITY":"5","AVAILABILITYMESSAGE":"Resource up. <br>The resource apm-prod1_Windows Vista is available.","RESOURCEID":"20000039","HealthRCAURL":"/jsp/RCA.jsp?resourceid=20000039&attributeid=18","TODAYUNMANGDPERCENT":"0","HEALTHMESSAGE":"Health of apm-prod1_Windows Vista is clear. <br>Root Cause : <br>1. Data Collection Successful<br>2. apm-prod1_Windows Vista is up<br>","HEALTHSTATUS":"clear","DISPALYNAME":"apm-prod1_Windows Vista","AVAILABILITYSTATUS":"up"}],"TODAYUNAVAILPERCENT":"100.0","AvailabilityRCAURL":"/jsp/RCA.jsp?resourceid=20000036&attributeid=17","Action":"enabled","NAME":"Applications Manager","TODAYAVAILPERCENT":"0.0","TODAYSCHEDDOWNPERCENT":"0.0","Type":"Monitor Group","HEALTHSEVERITY":"1","AVAILABILITYSEVERITY":"1","AVAILABILITYMESSAGE":"Resource Applications Manager is down. <br>Root Cause : <br><ol><li>Resource down. <br>The resource AppManager Home Page is not available.Connection Timed Out. Increase the time out level:ResponseCode -200<br>-->><\/li><\/ol>","RESOURCEID":"20000036","HealthRCAURL":"/jsp/RCA.jsp?resourceid=20000036&attributeid=18","TODAYUNMANGDPERCENT":"0.0","HEALTHMESSAGE":"Health of Applications Manager is Critical. <br>Root Cause : <br><ol><li>Health of AppManager Home Page is critical. <br>Root Cause : <br>1. AppManager Home Page is down<br><\/li><\/ol>","DISPLAYNAME":"Applications Manager","HEALTHSTATUS":"critical","AVAILABILITYSTATUS":"down"}]}}
|
列出业务组 |
列出监视器类型 |