# Monitoring ## getDeviceAssociatedMonitors The API returns a complete list of monitors associated with the device, including performance monitors, application monitors, Windows services, and scripts, along with their last polled values and status. Note: If you're looking for performance monitor details alone, we recommend using the [getLastCollectedValues](https://www.manageengine.com/network-monitoring/help/restapi/monitoring.html#getLastCollectedValues) API, which is more efficient and returns the last collected values of the monitors along with other properties. ### HTTP Method `GET` ### API URL ``` https://localhost:8060/api/json/device/getDeviceAssociatedMonitors?apiKey=***************&name=devicename ``` ### Parameters | Param Name | Description | Data Type | Additional Information | Is Mandatory | |---|---|---|---|---| | apiKey | API Key to access your OpManager server. | String | - | Yes | | name | [Click here](https://www.manageengine.com/network-monitoring/help/rest-api-variables-faq.html#device-mo-name) to learn how to get the Device Name | String | - | Yes | ### Sample Response HTTP Code: 200 ```json { "performanceMonitors":{ "total": 5, "statusIcon": "images/servicestatus5.gif", "down": 0, "monitors": [ { "YAXISTEXT": "%", "checkNumeric": "true", "data": [ { "instance": "-1", "value": 0} ], "Instance": "", "THRESHOLDENABLED": "false", "GRAPHID": "1159", "type": "multiple", "thresholdImg": "images/thresholdNonConfigured.gif", "suppressedMessage": "", "pollId": "522", "Protocol": "NCM", "DISPLAYNAME": "Config Change Count", "graphType": "node", "isSuppressed": "false", "policyName": "ChangesMonitor", "active": "true", "thresholdStatus": "Not Enabled", "isMultiple": "true", "sSave": "true", "pollingStatus": "0", "lastCollectedTime": "8 Oct 2025 10:47:43 AM IST", "groupName": "default", "DisplayColumn": "", "name": "ChangesMonitor", "interval": "60", "numericType": "1", "Id": "522"} ]}, "deviceProtocol": "SNMP" } ``` ### Error Response [View common error responses](https://www.manageengine.com/network-monitoring/help/common-json-errors.html) **Rate limit:** 500 requests per minute. Exceeding this limit will block requests for 1 minute --- ## getPerformanceMonitors Lists all the available performance monitors for a particular device (based on the device's category and type) ### HTTP Method `GET` ### API URL ``` https://localhost:8060/api/json/device/getPerformanceMonitors?apiKey=*************** ``` ### Parameters | Param Name | Description | Data Type | Additional Information | Is Mandatory | |---|---|---|---|---| | apiKey | API Key to access your OpManager server. | | | Yes | | deviceName | deviceName: [Click here](https://www.manageengine.com/network-monitoring/help/rest-api-variables-faq.html#device-mo-name) to learn how to get the Device Name | String | - | Yes | | category | Category of the device like Server, Desktop etc | String | Allowed Characters: Any characters except the following special symbols — ^ @ * & ! + ` % ( ) {}=\ < >$ [ ] ' " : , ; | Yes | | type | Type of the device like Windows 2019 | String | - | Yes | ### Sample Response HTTP Code: 200 ```json { "performanceMonitors": [ { "monitorId": "1", "monitorName": "CPU Utilization", "category": "System Performance"}, { "monitorId": "2", "monitorName": "Memory Utilization", "category": "System Performance"} ]} ``` ### Error Response [View common error responses](https://www.manageengine.com/network-monitoring/help/common-json-errors.html) **Rate limit:** 500 requests per minute. Exceeding this limit will block requests for 1 minute