MSMQ Connectivity Monitor

Jalasoft.Xian.Io.NetworkManagerServer.MSMQConectivityMonitor (UnitMonitor)

Knowledge Base article:

Summary

If reconnection between the Network Manager Server and the MSMQ fails, an error event is generated indicating there is no connection with MSMQ; no error events will be sent further, but Network Manager Server will try reconnecting with the MSMQ every 30 seconds.

Causes

Possible causes may be:

-Incorrect Service authentication to access MSMQ

Resolutions

Verify:

-Verify the service authentication has privileges to access MSMQ

Element properties:

TargetJalasoft.Xian.Io.NetworkManagerServer
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
MSMQ Connectivity Monitor
Xian Network Manager Server has lost connection with MSMQ.
RunAsDefault

Source Code:

<UnitMonitor ID="Jalasoft.Xian.Io.NetworkManagerServer.MSMQConectivityMonitor" Accessibility="Public" Enabled="true" Target="Jalasoft.Xian.Io.NetworkManagerServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Jalasoft.Xian.Io.NetworkManagerServer.MSMQConectivityMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="MSMQConectivityOk" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
<OperationalState ID="MSMQConectivityError" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Property[Type="Jalasoft.Xian.Io.NetworkManagerServer"]/Host$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1007</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Jalasoft Xian Network Manager Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Property[Type="Jalasoft.Xian.Io.NetworkManagerServer"]/Host$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1005</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Jalasoft Xian Network Manager Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>