Hi Marco,
Thanks, now in Probe utility it is working, however, in the json 'value' field is empty. I'm looking to get current status/values for the monitoring device. For instance, current utilization of DATASTORE which is being monitored.
And in API, I posted below in the request body, but not getting any monitored devices:
URL: /probe/{domain}/{hub}/{robot}/vmware/callback/get_monitors
{
"timeout":"5000",
"parameters":[{
"name":"resource",
"type":"string",
"value":"<resourcename>"
},
{
"name":"what",
"type":"string",
"value":"all"
},
{
"name":"page",
"type":"int",
"value":"0"
}]
}
Response :
{
"entry": [
{
"@datatype": "int",
"@name": "page",
"value": {
"@type": "xs:int",
"$": "1"
}
},
{
"@datatype": "int",
"@name": "page_count",
"value": {
"@type": "xs:int",
"$": "1"
}
},
{
"@datatype": "string",
"@name": "status",
"value": {
"@type": "xs:string",
"$": "OK"
}
}
]
}