Host Discovery

Brocade.FCHBA.Monitoring.2012.HostDiscovery (Discovery)

Discovery of hosts where one or more FC HBA drivers are installed.

Knowledge Base article:

Summary

Discovery of hosts where one or more FC HBA drivers are installed.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.VMHost
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
BrocadeHost_DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Brocade.FCHBA.Monitoring.2012.HostDiscovery" Enabled="true" Target="VMMLibrary!Microsoft.SystemCenter.VirtualMachineManager.VMHost" ConfirmDelivery="false" Remotable="true" Priority="High">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Brocade.FCHBA.Monitoring.2012.Host">
<Property TypeID="Brocade.FCHBA.Monitoring.2012.Host" PropertyID="ImagePath"/>
<!--<Property TypeID="Brocade.FCHBA.Monitoring.2012.Host" PropertyID="ImagePathFcoe" />
<Property TypeID="Brocade.FCHBA.Monitoring.2012.Host" PropertyID="Group" />
<Property TypeID="Brocade.FCHBA.Monitoring.2012.Host" PropertyID="GroupFcoe" />-->
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="BrocadeHost_DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>bfadExists</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfad</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ImagePath</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfad\ImagePath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Group</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfad\Group</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<!-- Additional driver registry keys for FCoE driver -->
<!--<RegistryAttributeDefinition>
<AttributeName>bfadFcoeExists</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfadfcoe</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ImagePathFcoe</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfadfcoe\ImagePath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>GroupFcoe</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\bfadfcoe\Group</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>-->
<RegistryAttributeDefinition>
<AttributeName>QLogicExists</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\ql2300</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>EmulexExists</AttributeName>
<Path>system\CurrentControlSet\Services\Elxstor</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Brocade.FCHBA.Monitoring.2012.Host"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Brocade.FCHBA.Monitoring.2012.Host"]/ImagePath$</Name>
<!--<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>-->
<Value>$Data/Values/ImagePath$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Brocade.FCHBA.Monitoring.2012.Host"]/Group$</Name>
<Value>$Data/Values/Group$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Brocade.FCHBA.Monitoring.2012.Host"]/VMMServerName$</Name>
<Value>$Target/Property[Type="VMMLibrary!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/VMMServer$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Brocade.FCHBA.Monitoring.2012.Host"]/HyperVGUID$</Name>
<Value>$Target/Property[Type="VMMLibrary!Microsoft.SystemCenter.VirtualMachineManager.VMHost"]/VMMId$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/bfadExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/QLogicExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Values/EmulexExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</DataSource>
</Discovery>