...
Configuration Article | CA-20220907-TP-65 VDG Sense | API | Functions | Status |
|
Table of Contents |
---|
Note: This function requires an API license.
...
This function requires the System Status plugin to be enabled. For more information about configuring the System status plugin, click here/wiki/spaces/KB/pages/973996093. If System Status plugin is not running, an errorcode = “0” will be given.
Request
|
Response
|
node | value | remarks | ||
---|---|---|---|---|
/result | ||||
@errorcode | [number] | See error codes below | ||
/result/hardwarestatus | ||||
status | [Ok | Warning | Error] | The status level. |
description | [string] | Optional description of the status level. |
error code | description | remarks |
---|---|---|
0 | Ok | Ok, no error |
-54 | System Status plugin not active | The System Status plugin is not enabled or Sense PluginManager is not running |
Results
If ok, the following will be returned:
|
If failover is active, the following will be returned:
|
In case of a Raid failure, the following will be returned:
|
[Raid-status] is a textual representation of the raid status. It is different for AMCC and LSI raid systems.
...
A degraded AMCC unit will generate the following response:
|
Only the last unit or drive that has a failure is reported in the XML response. If an error occurs the systems raid configuration software should be consulted for more information a repair.
...