getLastCollectedValues
Lists the last collected values of performance, application (AD, Exchange, and MSSQL) monitors, and script monitors for multiple devices.
HTTP Method
GETAPI URL
https://localhost:8060/api/json/device/getLastCollectedValues?apiKey=***************&deviceMOIDList=1802,1804
Parameters
| Param Name | Description | Data Type | Additional Information | Is Mandatory |
|---|
| apiKey | API Key to access your OpManager server. | | | Yes |
| deviceMOIDList | MOID is the value of the 'moid' property in the listDevices API response. For multiple MOIDs, use comma-separated values. It is recommended to pass up to 500 device MOIDs. Click here to learn how to get the MOID | number | numberWithComma | Yes |
Sample Response
HTTP Code: 200
{ "1802": [ { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Monitors the Memory Utilization using WMI", "GraphName": "WMI-MemoryUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 32} ], "GraphId": 204, "PollId": 405, "OID": "Memory Utilization", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:21:46 PM IST", "failureThreshold": 1, "PolicyName": "WMI-MemoryUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Monitors the Disk Utilization using WMI", "GraphName": "WMI-DiskUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 93} ], "GraphId": 205, "PollId": 406, "OID": "Disk Utilization", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:21:46 PM IST", "failureThreshold": 1, "PolicyName": "WMI-DiskUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Monitoring the usage in each partition of the Device using WMI.", "GraphName": "WMI-PartitionDetails", "GraphTypeName": "multiplenode", "data": [ { "instance": "-1", "value": 93} ], "GraphId": 304, "PollId": 407, "OID": "Partition Details of the Device", "previousSeverity": 5, "YAxisText": "Percentage", "lastCollectedTime": "23 Jan 2025 06:21:46 PM IST", "failureThreshold": 1, "PolicyName": "WMI-PartitionDetails", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "The rate of IO Read and Write operations performed on the server", "GraphName": "WMIIOReadandWriteRate", "GraphTypeName": "node", "data": [ { "instance": "-1", "value": 11} ], "GraphId": 2233, "PollId": 408, "OID": "WMI IO Read and Write Rate", "previousSeverity": 5, "YAxisText": "Operations/Sec", "lastCollectedTime": "23 Jan 2025 06:21:46 PM IST", "failureThreshold": 1, "PolicyName": "WMIIOReadandWriteRate", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Average time taken in milliseconds for a complete disk (read + write + transfer) operaton", "GraphName": "WMIAvgDiskLatency", "GraphTypeName": "node", "GraphId": 2227, "PollId": 409, "OID": "WMI Average Disk Latency", "previousSeverity": 5, "YAxisText": "MilliSeconds", "failureThreshold": 1, "PolicyName": "WMIAvgDiskLatency", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Number of minutes the computer has been running after it was last started", "GraphName": "WMISystemUpTime", "GraphTypeName": "node", "data": [ { "instance": "-1", "value": 251982} ], "GraphId": 2245, "PollId": 410, "OID": "WMI System UpTime", "previousSeverity": 5, "YAxisText": "Minutes", "lastCollectedTime": "23 Jan 2025 06:21:53 PM IST", "failureThreshold": 1, "PolicyName": "WMISystemUpTime", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "10.63.17.246", "ProtocolName": "WMI", "Description": "Monitors the CPU Utilization using WMI", "GraphName": "WMI-CPUUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 2} ], "GraphId": 203, "PollId": 411, "OID": "CPU Utilization ProcessorInformation", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:22:13 PM IST", "failureThreshold": 1, "PolicyName": "WMI-CPUUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0} ], "1804": [ { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitors the Memory Utilization using WMI", "GraphName": "WMI-MemoryUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 81} ], "GraphId": 204, "PollId": 416, "OID": "Memory Utilization", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:22:48 PM IST", "failureThreshold": 1, "PolicyName": "WMI-MemoryUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitoring the usage in each partition of the Device using WMI.", "GraphName": "WMI-PartitionDetails", "GraphTypeName": "multiplenode", "data": [ { "instance": "-1", "value": 92} ], "GraphId": 304, "PollId": 417, "OID": "Partition Details of the Device", "previousSeverity": 5, "YAxisText": "Percentage", "lastCollectedTime": "23 Jan 2025 06:22:48 PM IST", "failureThreshold": 1, "PolicyName": "WMI-PartitionDetails", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitoring the usage in each partition of the Device using WMI.", "GraphName": "WMI-PartitionDetails", "GraphTypeName": "multiplenode", "data": [ { "instance": "-1", "value": 22} ], "GraphId": 304, "PollId": 418, "OID": "Partition Details of the Device", "previousSeverity": 5, "YAxisText": "Percentage", "lastCollectedTime": "23 Jan 2025 06:22:48 PM IST", "failureThreshold": 1, "PolicyName": "WMI-PartitionDetails", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitoring the usage in each partition of the Device using WMI.", "GraphName": "WMI-PartitionDetails", "GraphTypeName": "multiplenode", "data": [ { "instance": "-1", "value": 87} ], "GraphId": 304, "PollId": 419, "OID": "Partition Details of the Device", "previousSeverity": 5, "YAxisText": "Percentage", "lastCollectedTime": "23 Jan 2025 06:22:48 PM IST", "failureThreshold": 1, "PolicyName": "WMI-PartitionDetails", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "The rate of IO Read and Write operations performed on the server", "GraphName": "WMIIOReadandWriteRate", "GraphTypeName": "node", "data": [ { "instance": "-1", "value": 199974} ], "GraphId": 2233, "PollId": 420, "OID": "WMI IO Read and Write Rate", "previousSeverity": 5, "YAxisText": "Operations/Sec", "lastCollectedTime": "23 Jan 2025 06:22:49 PM IST", "failureThreshold": 1, "PolicyName": "WMIIOReadandWriteRate", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Average time taken in milliseconds for a complete disk (read + write + transfer) operaton", "GraphName": "WMIAvgDiskLatency", "GraphTypeName": "node", "GraphId": 2227, "PollId": 421, "OID": "WMI Average Disk Latency", "previousSeverity": 5, "YAxisText": "MilliSeconds", "failureThreshold": 1, "PolicyName": "WMIAvgDiskLatency", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitors the CPU Utilization using WMI", "GraphName": "WMI-CPUUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 6} ], "GraphId": 203, "PollId": 422, "OID": "CPU Utilization ProcessorInformation", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:22:49 PM IST", "failureThreshold": 1, "PolicyName": "WMI-CPUUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Description", "GraphName": "Processor.PercentUserTime._Total", "GraphTypeName": "node", "GraphId": 5177, "PollId": 413, "OID": "Processor.PercentUserTime._Total", "previousSeverity": 5, "YAxisText": "Units", "failureThreshold": 1, "PolicyName": "Processor.PercentUserTime._Total", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Number of minutes the computer has been running after it was last started", "GraphName": "WMISystemUpTime", "GraphTypeName": "node", "data": [ { "instance": "-1", "value": 8505} ], "GraphId": 2245, "PollId": 414, "OID": "WMI System UpTime", "previousSeverity": 5, "YAxisText": "Minutes", "lastCollectedTime": "23 Jan 2025 06:22:49 PM IST", "failureThreshold": 1, "PolicyName": "WMISystemUpTime", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0}, { "NumericType": 1, "deviceName": "server1.test.com", "ProtocolName": "WMI", "Description": "Monitors the Disk Utilization using WMI", "GraphName": "WMI-DiskUtilization", "GraphTypeName": "multiple", "data": [ { "instance": "-1", "value": 71} ], "GraphId": 205, "PollId": 415, "OID": "Disk Utilization", "previousSeverity": 5, "YAxisText": "%", "lastCollectedTime": "23 Jan 2025 06:22:48 PM IST", "failureThreshold": 1, "PolicyName": "WMI-DiskUtilization", "lastPolledCounterValue": 0, "DataType": "1", "failureCount": 0} ]}
Rate limit: 300 requests per minute. Exceeding this limit will block requests for 1 minute