getDeviceStatus
Checks the status of a device and returns an Integer value indicating that status.
Syntax
params.getDeviceStatus (OID);
Parameters
Parameter |
Type |
Required |
Description |
OID |
String |
Yes |
OID of the device to be queried. |
Returns
Device status, as an Integer:
· 0—good
· 1—warning
· 2—error
· 3—unknown
Example
Coming soon.