Practices Guide
Lifecycle Controller Integration―Best Practices Specification
119
AdvertiseTypes = 1
AdvertiseTypes = 1
InstanceID = DCIM:Sensors:1.0.0
OtherRegisteredOrganization = DCIM
ProfileRequireLicense = Device Monitoring
ProfileRequireLicenseStatus = LICENSED
RegisteredName = Sensors
RegisteredOrganization = 1
RegisteredVersion = 1.0.0
23.2 Inventory of Sensor in System
Use the following procedure below to list the inventory of all sensors in the system.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: GetSensorViews.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.
B) GetSensorViews(): ENUMERATE the CIM_Sensor class to view all instances. See section
2.2 for a definition of
ENUMERATE .
The instance information of all available sensors will be returned.
23.3 Sensor Thresholds
Only sensors of Numeric type have thresholds (i.e. sensors of type DCIM_PSNumericSensor and
DCIM_NumericSensor). Sensor instances of this type will indicate the supported thresholds in their
SupportedThresholds property. They also indicate the settable ones through their SettableThresholds
property. ‘Set’ operations can be performed to change the settable thresholds.
Applies to: LC1.5.0+
Prerequisites for script: Set thresholds by editing script
Script: SetSensorThresholds.win
A) The Lifecycle Controller remote service must be in a “ready” state before executing any
other WSMAN commands. The GetRSStatus() method or the GetRemoteServicesAPIStatus()
method may be used depending on the version of the LC Management registered profile.