This API will fetch all the List of Monitor Groups created in the Server which includes all the sub-groups and associated monitors configured of the Monitor group. This will also list the monitor groups associated to the user. This will have information about monitor groups today's availability, monitor health outages among subgroups and associated monitors.
API for XML Response:
API for JSON Response:
Supported HTTP methods: GET, POST
Allowed roles: Administrator, Operator, User
Request Parameters:
| Field | Description |
|---|---|
| groupId | This parameter is used to get the Monitor Group and its associated monitors based on the monitor group id for the user |
| groupName | This parameter is used to get the Monitor Group and its associated monitors based on the monitor group name for the user. |
| outageReports | This parameter is used to determine whether the user need outage reports. The value of this parameter is either true or false. The default value is true. The following details are added in the response if value is "true":
|
| severityDetails | This parameter is used to define whether the user need severity details or not. The value of this parameter is either true or false. The default value is true. The following details are added in the response if value is "true":
|
| treeview | This parameter is used for displaying the tree view structure of the given monitor group. The values are,
|
| listOnlyParentGroups | If this parameter is set to true, only the parent monitor groups will be listed. |
Note: If the groupName or groupId is not specified in the input, then all the Monitor Group details will be pulled up in the response.
Response Details:
| Field | Description |
|---|---|
| DetailsPageURL | This is the url for the details page of the monitor group |
| TODAYUNAVAILPERCENT | This value represents the today's unavailability perecentage |
| AvailabilityRCAURL | This represents the Availability RCA Url. |
| Action | This represents status of the monitor group whether actions or enabled or not |
| CRITICALCOUNT | This represents the critical monitors/monitorgroups count |
| NAME \ DISPLAYNAME | This Represents the displayname of the monitor group |
| DOWNCOUNT | This represents the total number of monitors/monitor groups down in this group |
| TODAYAVAILPERCENT | This value represents the today's availability perecentage |
| TODAYSCHEDDOWNPERCENT | This value represents the today's scheduled downtime perecentage |
| Type | This value represents type i.e Monitor group or sub group |
| HEALTHSEVERITY | This represents the severity of the health for this Monitor group (1-critical, 4-warning & 5-clear) |
| HealthUnknownCount | This represents the number of monitors or subgroups for which the health is unknown. |
| AVAILABILITYSEVERITY | This represents the severity of the availability for this monitor group (1-down , 5-up) |
| AVAILABILITYMESSAGE | This is the availability message for this group |
| RESOURCEID | This is the resourceid of the monitor group. |
| CLEARCOUNT | This represents the number of monitors or subgroups for which the health is clear. |
| STATUS | This represents the current data collection status of the Monitor Group. Possible Values : "UNMANAGED" if Monitor Group is in unmanaged state / "MANAGED" if Monitor is currently managed. |
| UPCOUNT | This represents the number of monitors or subgroups for which the availability is up. |
| HealthRCAURL | This represents the link which show the Health RCA of this group. |
| TODAYUNMANGDPERCENT | This value represents the today's unmanaged perecentage |
| HEALTHMESSAGE | This is the health message for this group |
| AvailabilityUnknownCount | This represents the number of monitors or subgroups for which the availability is unknown. |
| OUTAGES | This represents the number of monitors or subgroups for which the health is not clear. |
| WARNINGCOUNT | This represents the number of monitors or subgroups for which the health is warning. |
| HEALTHSTATUS | This represents health status of this group (CRITICAL / CLEAR / WARNING) |
| AVAILABILITYSTATUS | This represents availablility status of this group (UP/ DOWN) |
| SubMonitorGroup |
|
JSON Input:
https://apm-prod-server:8443/AppManager/json/ListMonitorGroups?apikey=aaaaaabbbbbbccccccddddddeeeeee&groupId=10000035
JSON Response:
{"response-code":"4000","response":{"uri":"/AppManager/json/ListMonitorGroups","result":[{"DetailsPageURL":"/showresource.do?method=showResourceForResourceID&resourceid=20000036&method=showApplication","TODAYUNAVAILPERCENT":"100.0","AvailabilityRCAURL":"/jsp/RCA.jsp?resourceid=20000036&attributeid=17","Action":"enabled","CRITICALCOUNT":"1","NAME":"Applications Manager","DOWNCOUNT":"1","TODAYAVAILPERCENT":"0.0","TODAYSCHEDDOWNPERCENT":"0.0","Type":"Monitor Group","HEALTHSEVERITY":"1","HealthUnknownCount":"0","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","CLEARCOUNT":"2"," "STATUS": "MANAGED",UPCOUNT":"2","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>","AvailabilityUnknownCount":"0","OUTAGES":"1/3","DISPLAYNAME":"Applications Manager","WARNINGCOUNT":"0","HEALTHSTATUS":"critical","AVAILABILITYSTATUS":"down"}]}}
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development