Unhealthy Devices REST API
Description – Manages unhealthy devices in OpenSM
Request URL – GET /ufmRest/app/ unhealthy_devices
Main Operations
Get all unhealthy devices
Get device healthiness state(healthy/unheathy)
Description – Gets all devices that are marked as unhealthy.
Request URL – GET /ufmRest/app/unhealthy_devices
Request Content Type – Application/json
Response
[ {
"name"
:"ec0d9a0300d42e54"
,"dname"
:"r-ufm59"
,"health_state"
:"UNHEALTHY"
} ]Status Codes
200 – OK
Description – Get healthiness state of a given device guid.
Request URL – GET /ufmRest/app/unhealthy_devices/<device_guid>
Request Content Type – Application/json
Response
{
"name"
:"043f720300dd0394"
,"dname"
:"r-ufm56"
,"health_state"
:"HEALTHY"
}Status Codes
200 – OK
400 – bad request