QND.OMS.Automation.RunbookStatus2StateCooked.MT (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource QND.OMS.Automation.RunbookStatus.DS Default
Filter ConditionDetection System.ExpressionFilter Default
GreaterCD ConditionDetection System.ExpressionFilter Default
LessEqualCD ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalSecondsint$Config/IntervalSeconds$
SyncTimestring$Config/SyncTime$
MaxThresholdint$Config/MaxThreshold$
TimeoutSecondsint$Config/TimeoutSeconds$
TraceLevelint$Config/TraceLevel$
Tolerancedouble$Config/Tolerance$
OnlySJWHint$Config/OnlySJWH$
LookbackDaysint$Config/LookbackDays$
LastNJobsint$Config/LastNJobs$
MaxFailuresint$Config/MaxFailures$
FailureConditionstring$Config/FailureCondition$
MaxAgeHoursint$Config/MaxAgeHours$
MaxRuntimeMinutesint$Config/MaxRuntimeMinutes$
WebHookExpirationDaysint$Config/WebHookExpirationDays$
WebHookExpirationSilenceint$Config/WebHookExpirationSilence$

Source Code:

<UnitMonitorType ID="QND.OMS.Automation.RunbookStatus2StateCooked.MT" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Greater"/>
<MonitorTypeState ID="LessEqual"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<!-- I'm lazy and don't want to copy and paste the same monitor type so let's do some redundancy at the parameter level -->
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Property" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MaxThreshold" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RunbookId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:int" minOccurs="0" maxOccurs="1" default="60"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TraceLevel" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ClientId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SubscriptionId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Proxy" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AuthBaseAddress" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ResourceBaseAddress" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AADUserName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="AADPassword" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ResourceURI" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="APIVersion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Heartbeat" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Tolerance" type="xsd:double" minOccurs="0" maxOccurs="1" default="0.5"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlySJWH" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LookbackDays" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LastNJobs" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MaxFailures" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="FailureCondition" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MaxAgeHours" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MaxRuntimeMinutes" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebHookExpirationDays" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WebHookExpirationSilence" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="MaxThreshold" Selector="$Config/MaxThreshold$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TraceLevel" ParameterType="int" Selector="$Config/TraceLevel$"/>
<OverrideableParameter ID="Tolerance" ParameterType="double" Selector="$Config/Tolerance$"/>
<OverrideableParameter ID="OnlySJWH" ParameterType="int" Selector="$Config/OnlySJWH$"/>
<OverrideableParameter ID="LookbackDays" ParameterType="int" Selector="$Config/LookbackDays$"/>
<OverrideableParameter ID="LastNJobs" ParameterType="int" Selector="$Config/LastNJobs$"/>
<OverrideableParameter ID="MaxFailures" ParameterType="int" Selector="$Config/MaxFailures$"/>
<OverrideableParameter ID="FailureCondition" ParameterType="string" Selector="$Config/FailureCondition$"/>
<OverrideableParameter ID="MaxAgeHours" ParameterType="int" Selector="$Config/MaxAgeHours$"/>
<OverrideableParameter ID="MaxRuntimeMinutes" ParameterType="int" Selector="$Config/MaxRuntimeMinutes$"/>
<OverrideableParameter ID="WebHookExpirationDays" ParameterType="int" Selector="$Config/WebHookExpirationDays$"/>
<OverrideableParameter ID="WebHookExpirationSilence" ParameterType="int" Selector="$Config/WebHookExpirationSilence$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="QND.OMS.Automation.RunbookStatus.DS">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<TraceLevel>$Config/TraceLevel$</TraceLevel>
<ClientId>$Config/ClientId$</ClientId>
<SubscriptionId>$Config/SubscriptionId$</SubscriptionId>
<Proxy>$Config/Proxy$</Proxy>
<AuthBaseAddress>$Config/AuthBaseAddress$</AuthBaseAddress>
<ResourceBaseAddress>$Config/ResourceBaseAddress$</ResourceBaseAddress>
<AADUserName>$Config/AADUserName$</AADUserName>
<AADPassword>$Config/AADPassword$</AADPassword>
<ResourceURI>$Config/ResourceURI$</ResourceURI>
<APIVersion>$Config/APIVersion$</APIVersion>
<Heartbeat>$Config/Heartbeat$</Heartbeat>
<Tolerance>$Config/Tolerance$</Tolerance>
<OnlySJWH>$Config/OnlySJWH$</OnlySJWH>
<LookbackDays>$Config/LookbackDays$</LookbackDays>
<LastNJobs>$Config/LastNJobs$</LastNJobs>
<MaxFailures>$Config/MaxFailures$</MaxFailures>
<FailureCondition>$Config/FailureCondition$</FailureCondition>
<MaxAgeHours>$Config/MaxAgeHours$</MaxAgeHours>
<MaxRuntimeMinutes>$Config/MaxRuntimeMinutes$</MaxRuntimeMinutes>
<WebHookExpirationDays>$Config/WebHookExpirationDays$</WebHookExpirationDays>
<WebHookExpirationSilence>$Config/WebHookExpirationSilence$</WebHookExpirationSilence>
</DataSource>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='runbookId']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Config/RunbookId$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="LessEqualCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='$Config/Property$']</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/MaxThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="GreaterCD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='$Config/Property$']</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/MaxThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Greater">
<Node ID="GreaterCD">
<Node ID="Filter">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="LessEqual">
<Node ID="LessEqualCD">
<Node ID="Filter">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>