Supermicro.Server.Host.HealthCheck.2State (UnitMonitor)

Element properties:

TargetSupermicro.Server.Host
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableFalse
AccessibilityPublic
RunAsDefault

Source Code:

<UnitMonitor ID="Supermicro.Server.Host.HealthCheck.2State" Accessibility="Public" ConfirmDelivery="false" Enabled="true" ParentMonitorID="Health!System.Health.AvailabilityState" Priority="Normal" Remotable="false" Target="Supermicro.Server.Host" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType">
<Category>StateCollection</Category>
<OperationalStates>
<OperationalState ID="Unhealthy" HealthState="Error" MonitorTypeStateID="FirstEventRaised"/>
<OperationalState ID="Healthy" HealthState="Success" MonitorTypeStateID="SecondEventRaised"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Host/Property[Type="Supermicro.Server.DMS"]/PrincipalName$</FirstComputerName>
<FirstLogName>SMC_SSCS</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>HealthState_HOST_$Target/Property[Type="Supermicro.Server.Host"]/HostOID$ </Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>302</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>999</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<!--
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
-->
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Host/Property[Type="Supermicro.Server.DMS"]/PrincipalName$</SecondComputerName>
<SecondLogName>SMC_SSCS</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>HealthState_HOST_$Target/Property[Type="Supermicro.Server.Host"]/HostOID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>301</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<!--
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventLevel</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
-->
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>