Storage Center Power Supply Discovery
Dell.Storage.PowerSupply.Discovery (Discovery)
Description for the new discovery.
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Dell.Storage.PowerSupply.Discovery" Target="Dell.Storage.Controller" Enabled="true" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Dell.Storage.ControllerPowerSupply">
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="UniqueName"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="ACLost"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="ChildStatus"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="ControllerIndex"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="Failed"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="InstanceName"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="Name"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="Present"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="Status"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="StatusMessage"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="StorageCenterName"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="StorageCenterSerialNumber"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="InstanceId"/>
<Property TypeID="Dell.Storage.ControllerPowerSupply" PropertyID="Index"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$\root\Dell\Storage</NameSpace>
<Query>
SELECT ACLost,
ChildStatus,
ControllerIndex,
Failed,
Index,
InstanceId,
InstanceName,
Name,
Present,
Status,
StatusMessage,
StorageCenterName,
StorageCenterSerialNumber,
UniqueName
FROM Dell_StorageCenterControllerPowerSupply WHERE ControllerIndex = $Target/Property[Type="Dell.Storage.Controller"]/Index$
</Query>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/ACLost$</Name>
<Value>$Data/Property[@Name='ACLost']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/ChildStatus$</Name>
<Value>$Data/Property[@Name='ChildStatus']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/ControllerIndex$</Name>
<Value>$Data/Property[@Name='ControllerIndex']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/Failed$</Name>
<Value>$Data/Property[@Name='Failed']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/Index$</Name>
<Value>$Data/Property[@Name='Index']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/InstanceId$</Name>
<Value>$Data/Property[@Name='InstanceId']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/InstanceName$</Name>
<Value>$Data/Property[@Name='InstanceName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/Name$</Name>
<Value>$Data/Property[@Name='Name']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/Present$</Name>
<Value>$Data/Property[@Name='Present']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/Status$</Name>
<Value>$Data/Property[@Name='Status']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/StatusMessage$</Name>
<Value>$Data/Property[@Name='StatusMessage']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/StorageCenterName$</Name>
<Value>$Data/Property[@Name='StorageCenterName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/StorageCenterSerialNumber$</Name>
<Value>$Data/Property[@Name='StorageCenterSerialNumber']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.ControllerPowerSupply"]/UniqueName$</Name>
<Value>$Data/Property[@Name='UniqueName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.Controller"]/InstanceId$</Name>
<Value>$Target/Property[Type="Dell.Storage.Controller"]/InstanceId$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.StorageCenter"]/InstanceId$</Name>
<Value>$Target/Host/Property[Type="Dell.Storage.StorageCenter"]/InstanceId$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Dell.Storage.DataCollector"]/InstanceId$</Name>
<Value>$Target/Host/Host/Property[Type="Dell.Storage.DataCollector"]/InstanceId$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='Name']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>