Amazon EBS Volume Status Check State Monitor Type

Amazon.AmazonWebServices.MonitorType.EbsScheduledEventWarningStateType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Amazon.AmazonWebServices.TimerManagedModuleDataSource Default
StatusInfo ProbeAction Amazon.AmazonWebServices.EbsVolumeScheduledEventsManagedProbeAction Default
EventCodeFilter ConditionDetection System.ExpressionFilter Default
FilterHealthy ConditionDetection System.ExpressionFilter Default
FilterWarning ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalTimeInSecondsint$Config/IntervalTimeInSeconds$Interval (sec)

Source Code:

<UnitMonitorType ID="Amazon.AmazonWebServices.MonitorType.EbsScheduledEventWarningStateType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Healthy"/>
<MonitorTypeState ID="Warning"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WorkFlowName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="StartTimeInSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalTimeInSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VolumeId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RegionName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Expression" type="ExpressionType"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalTimeInSeconds" ParameterType="int" Selector="$Config/IntervalTimeInSeconds$"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Amazon.AmazonWebServices.TimerManagedModuleDataSource">
<WorkFlowName>$Config/WorkFlowName$</WorkFlowName>
<StartTimeInSeconds>$Config/StartTimeInSeconds$</StartTimeInSeconds>
<IntervalTimeInSeconds>$Config/IntervalTimeInSeconds$</IntervalTimeInSeconds>
</DataSource>
<ProbeAction ID="StatusInfo" TypeID="Amazon.AmazonWebServices.EbsVolumeScheduledEventsManagedProbeAction">
<VolumeId>$Config/VolumeId$</VolumeId>
<RegionName>$Config/RegionName$</RegionName>
<AwsAccessKey>$RunAs[Name="Amazon.AmazonWebServices.RunAsProfile.AwsKeys"]/UserName$</AwsAccessKey>
<AwsSecretKey>$RunAs[Name="Amazon.AmazonWebServices.RunAsProfile.AwsKeys"]/Password$</AwsSecretKey>
</ProbeAction>
<ConditionDetection ID="EventCodeFilter" TypeID="System!System.ExpressionFilter">
<Expression>$Config/Expression$</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterHealthy" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='MonitorStatus']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Healthy</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarning" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='MonitorStatus']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Warning</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Healthy">
<Node ID="FilterHealthy">
<Node ID="StatusInfo">
<Node ID="DS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Warning">
<Node ID="FilterWarning">
<Node ID="EventCodeFilter">
<Node ID="StatusInfo">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>