Monitors errors produced by the Microsoft Dynamics NAV 2015 Web Server instance in a certain unit of time.
This monitor detects when a Microsoft Dynamics NAV 2015 Web Server writes errors in the Application event log. When this condition occurs x times within n seconds, the monitor generates an alert. After this condition expires, the monitor returns to a healthy state. The default values are x=3 and n=300.
A problem has occurred on Microsoft Dynamics NAV 2015 Web Server.
To troubleshoot this issue, investigate the detailed error description in the event log entries for the Microsoft Dynamics NAV 2015 Web Server.
Target | Microsoft.Dynamics.Nav.2015.WebServerInstance | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Dynamics.Nav.2015.RepeatedEventLogTimer2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Dynamics.Nav.2015.DefaultAccount |
<UnitMonitor ID="Microsoft.Dynamics.Nav.2015.WebServerInstanceEventMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Dynamics.Nav.2015.WebServerInstance" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.Dynamics.Nav.2015.RepeatedEventLogTimer2StateMonitorType" ConfirmDelivery="false" RunAs="Microsoft.Dynamics.Nav.2015.DefaultAccount">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Dynamics.Nav.2015.WebServerInstanceEventMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="RepeatedEventRaised" MonitorTypeStateID="RepeatedEventRaised" HealthState="Warning"/>
<OperationalState ID="TimerEventRaised" MonitorTypeStateID="TimerEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<RepeatedComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</RepeatedComputerName>
<RepeatedLogName>Application</RepeatedLogName>
<RepeatedExpression>
<And>
<!-- Eventlog errors -->
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Integer">EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Integer">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">MicrosoftDynamicsNAVClientWebClient</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Target/Property[Type="Microsoft.Dynamics.Nav.2015.WebServerInstance"]/WebServerInstance$</Pattern>
</RegExExpression>
</Expression>
</And>
</RepeatedExpression>
<RepeatNTimes>3</RepeatNTimes>
<RepeatNTimesInXSeconds>300</RepeatNTimesInXSeconds>
<AutoResetInterval>300</AutoResetInterval>
</Configuration>
</UnitMonitor>