ErrorMonitor

HealthSetUnitMonitorFixedErrorOnly (UnitMonitor)

Element properties:

TargetMicrosoft.Exchange.15.HealthSet
Parent MonitorSystem.Health.AvailabilityState
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Health Set Unhealthy

{0}
Knowledge: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="HealthSetUnitMonitorFixedErrorOnly" Accessibility="Public" Enabled="false" Target="Exc15!Microsoft.Exchange.15.HealthSet" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="HealthSetUnitMonitor.Error.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
<AlertParameter2>http://technet.microsoft.com/en-us/library/ms.exch.scom.$Target/Property[Type='Exc15!Microsoft.Exchange.15.HealthSet']/HealthSetName$(EXCHG.150).aspx?v=$Target/Property[Type='Exc15!Microsoft.Exchange.15.HealthSet']/Version$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ErrorHealthState" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SuccessHealthState" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>.</FirstComputerName>
<FirstLogName>Microsoft-Exchange-ManagedAvailability/Monitoring</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Exchange-ManagedAvailability</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator CaseSensitive="false">MatchesRegularExpression</Operator>
<Pattern>(^|^(.+/))($Target/Property[Type='Exc15!Microsoft.Exchange.15.HealthSet']/HealthSetName$)($|(/.+$))</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>.</SecondComputerName>
<SecondLogName>Microsoft-Exchange-ManagedAvailability/Monitoring</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Exchange-ManagedAvailability</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator CaseSensitive="false">MatchesRegularExpression</Operator>
<Pattern>(^|^(.+/))($Target/Property[Type='Exc15!Microsoft.Exchange.15.HealthSet']/HealthSetName$)($|(/.+$))</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>