SNA Print Server Events Alert Rule

Microsoft.HostIntegrationServer.2016.SNAPrintServer_CriticalEvents (Rule)

Knowledge Base article:

Summary

Updates the health of the Print component based on the events generated by the SNA Print Server.

Causes

Event 9:

The Print Server could not initialize the connection between the server and the SNA administration infrastructure.

The installation has become corrupt.

Event 12:

The Internal buffer pool has become exhausted and may not be able to continue processing data until the exhaustion has been relieved. The server components use a common buffer pool that contains a fixed number of entries. These entries are being used faster than the server can process them. 

Event 13:

The common infrastructure within Host Integration Server uses a Locality Partner Index for data transmission.  The Locality portion is the originator of the message. The Print Server cannot allocate a Locality which will prevent it from being able to send/receive data. The installation has become corrupt.

Event 14:

General Print Server errors are logged using this event. Review the error, level, and parameter information for specifics.

Event 18:

The Host Code page configured on the Print Session is not on the local computer. Starting with Host Integration Server 2004, the Natural Language Support (NLS) files are no longer shipped with Host Integration Server.  Host Integration Server relies on the operating system installation for this feature which could lead to mismatches.

Event 19:

The Custom Translation File (PDT) cannot be located on the local server or it cannot be accessed it due to permissions. The file name provided during the session creation is not validated. The PDT file is loaded when a print session is initialized, and it cannot be found or accessed.

Event 20:

The Custom Translation File (PDT) defined in the Print Session could be found but was not in the format expected. The file format is not a valid PDT file.

Event 22:

General Print Server internal errors are logged using this event. An internal error has been encountered in the Print Server.

Resolutions

Events 9, 13:

Repair the installation using Add/Remove Programs in the Control Panel.

Event 12:

The server will work through the backlog but until such time as a "Buffer Pool Relieved" event appears, you should not continue to print through the print server as data can be lost.

Event 14:

Investigate the information in the event pertaining to error, level, and parameter to determine possible resolutions.

Event 18:

Install the correct NLS file on the local server.

Event 19:

Correct the file and/or permissions and restart the SNA Print service.

Event 20:

Correct the file and restart the SNA Print service.

Event 22:

Investigate the information in the event to determine possible resolutions.

Element properties:

TargetMicrosoft.HostIntegrationServer.2016.SNAPrint
CategoryEventCollection
EnabledTrue
Event SourceSNA Print Server
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
SNA Print Server Alert for Critical Events
Server: {0}
Event ID: {1}
Event Description: {2}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.HostIntegrationServer.2016.SNAPrintServer_CriticalEvents" Enabled="true" Target="Microsoft.HostIntegrationServer.2016.SNAPrint" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(9|12|13|14|18|19|20|22)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">SNA Print Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID0e3ede2179b9455c85e6418ac4586ba0"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/LoggingComputer$</AlertParameter1>
<AlertParameter2>$Data/EventDisplayNumber$</AlertParameter2>
<AlertParameter3>$Data/EventDescription$</AlertParameter3>
</AlertParameters>
</WriteAction>
</WriteActions>
</Rule>