Event Triggered Script 3 State Unit Monitor Type

Dell.WindowsClient.EventTriggeredScriptMonitorType.3StateScriptMonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
EventDS DataSource Microsoft.Windows.EventProvider Default
Script ProbeAction Microsoft.Windows.ScriptPropertyBagProbe Default
CriticalExpression ConditionDetection System.ExpressionFilter Default
SuccessExpression ConditionDetection System.ExpressionFilter Default
WarningExpression ConditionDetection System.ExpressionFilter Default

Source Code:

<UnitMonitorType ID="Dell.WindowsClient.EventTriggeredScriptMonitorType.3StateScriptMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Warning" NoDetection="false"/>
<MonitorTypeState ID="Critical" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="LogName" type="xsd:string"/>
<xsd:element name="EventExpression" type="ExpressionType"/>
<xsd:element name="ScriptName" type="xsd:string"/>
<xsd:element name="Arguments" type="xsd:string"/>
<xsd:element name="ScriptBody" type="xsd:string"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element name="SuccessExpression" type="ExpressionType"/>
<xsd:element name="WarningExpression" type="ExpressionType"/>
<xsd:element name="CriticalExpression" type="ExpressionType"/>
</Configuration>
<MonitorImplementation>
<MemberModules>
<DataSource ID="EventDS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Config/ComputerName$</ComputerName>
<LogName>$Config/LogName$</LogName>
<Expression>$Config/EventExpression$</Expression>
</DataSource>
<ProbeAction ID="Script" TypeID="Windows!Microsoft.Windows.ScriptPropertyBagProbe">
<ScriptName>$Config/ScriptName$</ScriptName>
<Arguments>$Config/Arguments$</Arguments>
<ScriptBody><Script>$Config/ScriptBody$</Script></ScriptBody>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<ConditionDetection ID="SuccessExpression" TypeID="System!System.ExpressionFilter">
<Expression>$Config/SuccessExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="WarningExpression" TypeID="System!System.ExpressionFilter">
<Expression>$Config/WarningExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="CriticalExpression" TypeID="System!System.ExpressionFilter">
<Expression>$Config/CriticalExpression$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="SuccessExpression">
<Node ID="Script">
<Node ID="EventDS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Warning">
<Node ID="WarningExpression">
<Node ID="Script">
<Node ID="EventDS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Critical">
<Node ID="CriticalExpression">
<Node ID="Script">
<Node ID="EventDS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>