Licenses: license expires soon

Citrix.LicenseServer.LicenseExpiry.Rule (Rule)

Raises an alert if a Citrix license is due to expire

Knowledge Base article:

Citrix ® Management Pack

Summary

You have one or more licenses on a license server that are about to expire.

 
Causes

A license installed on a license server may have an associated expiry date after which the license is no longer available. For example, evaluation licenses are typically valid only for a limited time.

 
Resolutions

To check how many days remain until the license expires, use the License Management Console. The alert includes a link to the License Management Console. If this alert is caused by an evaluation license, to avoid future alerts, upgrade to a retail license and remove the evaluation license from the license server.

 
External Knowledge Sources

The following sources of information can be helpful when dealing with this alert:

  • Citrix Presentation Server Administrator's Guide - English
  • Citrix Licensing Guide - English
 
© 2002-2008 Citrix Systems, Inc. All rights reserved.

Element properties:

TargetCitrix.LicenseServer.ServerRole
CategoryAlert
EnabledTrue
Event_ID20
Event SourceHealth Service Script
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
License expires soon
The following license expires soon:
License: {0}
Description: {1}

Further information and license administration functionality is available from http://{2}/lmc/index.jsp.
Event LogOperations Manager

Member Modules:

ID Module Type TypeId RunAs 
EventCollectionDS DataSource Microsoft.Windows.EventProvider Citrix.PresentationServer.CitrixAdministratorAccount
GenerateAlert WriteAction System.Health.GenerateAlert Citrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<Rule ID="Citrix.LicenseServer.LicenseExpiry.Rule" Enabled="true" Target="Citrix.LicenseServer.ServerRole" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="EventCollectionDS" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Operations Manager</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Health Service Script</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>20</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>Citrix License Expiry</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name='Citrix.LicenseServer.LicenseExpiry.Rule.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</AlertParameter3>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>