This URL retrieves the virtual probe status.
Resource URL
GET cloud/checkprobestatus/<ip_address>
Request Parameters
URL Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Virtual probe IP | String | Yes |
Payload Request Parameters
None
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned:
Field Name | Description | Data Type |
|---|---|---|
| Workload IP | String |
| Private IP of virtual machine | String |
| Public IP of virtual machine | String |
| Virtual machine host name | String |
| OS on virtual machine | String |
| Probe agent is installed on the virtual machine or not | Boolean |
| Probe agent is running on the virtual machine or not | Boolean |
| Probe agent version | String |
| Time since the probe agent has been running | String |
Example
Request
GET https://<NSM_IP>/sdkapi/cloud/checkprobestatus/<ip_address>
Payload
None
Response
{
"workloadVMIP": "10.15.2.113",
"privateIP": "10.15.2.113",
"publicIP": "10.15.2.113",
"hostName": "ip-10-15-2-113",
"workloadOS": "Amazon Linux AMI release 2016.09",
"probeInstalled": true,
"probeRunning": true,
"probeVersion": "3.5.3-8(64-bit)",
"probeRunningSince": "Fri Mar 24 05:24:30 UTC 2017
}
Error Information
Following error codes are returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 500 | 1001 | Internal error |
2 | 400 | 1406 | Invalid IP format |