getPMInfo


SoftLayer_Hardware_SecurityModule::getPMInfo

Retrieve a server’s hardware state via its internal sensors.

Description

Retrieve a server’s hardware state via its internal sensors. Remote sensor data is transmitted to the SoftLayer API by way of the server’s remote management card. Sensor data measures system temperatures, voltages, and other local server settings. Sensor data is cached for 30 seconds. Calls made to getSensorData for the same server within 30 seconds of each other will return the same data. Subsequent calls will return new data once the cache expires.

Parameters

None

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • Throw the exception “Unable to locate the management component for this server.” if the API is unable to locate the server’s remote management component.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_SecurityModule/{SoftLayer_Hardware_SecurityModuleID}/getPMInfo'