Sample published application load from load balancing

Citrix.PresentationServer.PublishedAppLoadBalancing.CollectionRule (Rule)

Collects published application load balancing performance data from the Citrix Presentation Server Provider

Knowledge Base article:

Citrix ® Management Pack

Summary

This rule controls the collection of information about published application load. When you enable this rule, Citrix Presentation Server Provider data about published application load for each server is retrieved from Load Manager. This information is displayed in the Published Application Load From Load Balancing health monitoring view.

 
External Knowledge Sources

You may find the following sources of information helpful:

Or search the Citrix knowledge base for more information.

 
Other Information

This rule is disabled by default because this information is available only if you are using Load Manager in your server farm and have configured the application load level in the Presentation Server Console.

To enable this rule:

  1. In the rule's Properties dialog box, click the General tab.
  2. Select Enabled and click OK.
  3. To apply your changes, right-click on Management Packs and select Commit Configuration Change.

Note that there is a similar rule for the collection of information about server load.

 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.PresentationServer.ManagedServer
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
WMIPerfCounterCollectionDS DataSource Microsoft.Windows.WmiPerfCounterProvider Citrix.PresentationServer.CitrixAdministratorAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Citrix.PresentationServer.CitrixAdministratorAccount
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Citrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<Rule ID="Citrix.PresentationServer.PublishedAppLoadBalancing.CollectionRule" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="WMIPerfCounterCollectionDS" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.WmiPerfCounterProvider">
<NameSpace>\\$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetworkName$\root\Citrix</NameSpace>
<Query>SELECT * FROM MetaFrame_Application_LoadLevel WHERE ServerName="$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/NetbiosComputerName$"</Query>
<Frequency>1020</Frequency>
<ObjectName>MetaFrame_Application_LoadLevel</ObjectName>
<CounterName>LoadLevel</CounterName>
<InstanceName>$Target/Property[Type='CtxLibrary!Citrix.Library.ServerApplication']/Name$</InstanceName>
<Value>$Data/Property[@Name='LoadLevel']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>