Configuration Logging Database Monitor

Citrix.PresentationServer.ConfigLoggingDBUnavailable.Monitor (UnitMonitor)

Monitors connection to the configuration logging database

Knowledge Base article:

Citrix ® Management Pack

Summary

The configuration logging server component is disconnected from the database; therefore, changes to the farm cannot be logged. If the configuration logging settings do not allow changes to the farm when the database is disconnected, changes to the farm are blocked. As soon as the database is available, the configuration logging server component reconnects to the database.

Note: The configuration logging server component is installed on each farm host. When changes to the farm are made through a particular host, the configuration logging server component on that host connects to the database and creates log entries.

 
Causes

This event indicates that the configuration logging server component is disconnected from the database. There are several possible causes:

  • The database is not started or is not accessible
  • There is a network problem between the configuration logging server component and the database
  • The configuration logging properties for the database such as database server, user name, and password are not set
  • The connection time-out in the configuration logging properties is too short
  • The database permissions do not allow Citrix Presentation Server to create the database schema
  • The database permissions do not allow Citrix Presentation Server to insert log entries
 
Resolutions
  • Ensure that the database is running and accessible
  • Ensure that the network infrastructure linking the configuration logging server component and the database is working correctly
  • Check that the configuration logging properties are valid and use the Logging Database Configuration wizard to test the connection to the database
  • Increase the connection time-out
  • If Presentation Server is connecting to the logging database for the first time, check that the database permissions allow Presentation Server to create the database schema
  • If the database schema is already created, check that the database permissions allow Presentation Server to insert log entries
 
External Knowledge Sources

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

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

Element properties:

TargetCitrix.PresentationServer.ManagedServer
Parent MonitorCitrix.PresentationServer.ConfigurationLogging.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
The configuration logging server component is disconnected from the database.
Changes to the farm cannot be logged because the configuration logging server component is disconnected from the configuration logging database
RunAsCitrix.PresentationServer.CitrixAdministratorAccount

Source Code:

<UnitMonitor ID="Citrix.PresentationServer.ConfigLoggingDBUnavailable.Monitor" Accessibility="Public" Enabled="true" Target="Citrix.PresentationServer.ManagedServer" ParentMonitorID="Citrix.PresentationServer.ConfigurationLogging.AvailabilityState" Remotable="true" Priority="Normal" RunAs="CtxLibrary!Citrix.PresentationServer.CitrixAdministratorAccount" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Citrix.PresentationServer.ConfigLoggingDBUnavailable.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Error" MonitorTypeStateID="EventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Citrix Configuration Logging</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>