-
Developers
-
WAPI Reference
-
getHostSensors
Developers API
getHostSensors
Fetches all sensors belonging to the specified host
Request Parameters
Parameter |
Data Type |
Description |
Required |
Default |
hostid |
integer |
The HostID identifying the host whose sensors you want to list |
Required |
- |
Response Data
Response Variable |
Data Type |
Description |
errorcode |
integer |
Returns an errorcode of 0 if call is successful. |
sensors |
hsid |
integer |
The HostSensorID of the sensor |
sensorid |
integer |
The ID of the sensor type |
enabled |
boolean |
Whether this sensor is enabled for testing |
nickname |
string |
The (optional) nickname for this sensor |
params |
string |
An array of sensor parameters |
|