Windows Server 2008 R2 NLB cluster discovery (event based)

Microsoft.Windows.NetworkLoadBalancing.2008.R2.Cluster.EventBasedDiscovery (Discovery)

This rule discovers Windows Server 2008 R2 NLB clusters. This includes the discovery of cluster nodes and properties of each node. Unlike the other NLB cluster discovery rule in this management pack, this rule only runs in response to event 12289 logged by the NLB driver when the configuration of the cluster changes.

Knowledge Base article:

Summary

This rule discovers Windows Server 2008 R2 NLB clusters. This includes the discovery of cluster nodes and properties of each node. Unlike the other NLB cluster discovery rule in this management pack, this rule only runs in response to event 12289 logged by the NLB driver when the configuration of the cluster changes.

Configuration

You can configure the timeout value for this discovery. The timeout value is specified in seconds.

Element properties:

TargetMicrosoft.Windows.Server.2008.R2.Computer
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.NetworkLoadBalancing.Cluster.Discovery.EventBasedDataSource Default

Source Code:

<Discovery ID="Microsoft.Windows.NetworkLoadBalancing.2008.R2.Cluster.EventBasedDiscovery" Enabled="onEssentialMonitoring" Target="WindowsServer2008Library!Microsoft.Windows.Server.2008.R2.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.NetworkLoadBalancing.2008.R2.ServerRole">
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ServerRole" PropertyID="ClusterIP"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ServerRole" PropertyID="NetworkConnectionName"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ServerRole" PropertyID="NodeName"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ServerRole" PropertyID="DedicatedIPAddress"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ServerRole" PropertyID="HostPriority"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster">
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster" PropertyID="IPAddress"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster" PropertyID="DnsName"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster" PropertyID="SubnetMask"/>
<Property TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster" PropertyID="MacAddress"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.Windows.NetworkLoadBalancing.2008.R2.NetworkAdapter">
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="AdapterType"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="Index"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="Manufacturer"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="MACAddress"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="ServiceName"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="PerfmonInstance"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="DHCPEnabled"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="DHCPServer"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="DNSDomain"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="IPAddress"/>
<Property TypeID="WindowsServerLibrary!Microsoft.Windows.Server.NetworkAdapter" PropertyID="IPSubnet"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="DeviceID"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Name"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Description"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.ClusterContainsServerRole"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="NLBLibrary!Microsoft.Windows.NetworkLoadBalancing.Cluster.Discovery.EventBasedDataSource">
<TimeoutSeconds>300</TimeoutSeconds>
<NlbRoleClassName>$MPElement[Name='Microsoft.Windows.NetworkLoadBalancing.2008.R2.ServerRole']$</NlbRoleClassName>
<NetworkCardClassName>$MPElement[Name='Microsoft.Windows.NetworkLoadBalancing.2008.R2.NetworkAdapter']$</NetworkCardClassName>
<SourceId>$MPElement[Name='Microsoft.Windows.NetworkLoadBalancing.2008.Cluster.Discovery']$</SourceId>
<ComputerPrincipalName>$Target/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerPrincipalName>
</DataSource>
</Discovery>