Amazon EC2 Instance StatusCheckFailed Metric

Amazon.AmazonWebServices.Rule.AmazonEC2InstanceMetric.StatusCheckFailed (Rule)

A combination of StatusCheckFailed_Instance and StatusCheckFailed_System that reports if either of the status checks has failed.

Knowledge Base article:

Amazon EC2 Instance StatusCheckFailed Metric

A combination of StatusCheckFailed_Instance and StatusCheckFailed_System that reports if either of the status checks has failed. Values for this metric are either 0 (zero) or 1 (one.) A zero indicates that the status check passed. A one indicates a status check failure.

NOTE: Status check metrics are available at 5 minute frequency and are not available in Detailed Monitoring. For a newly launched instance, status check metric data will only be available after the instance has completed the initialization state. Status check metrics will become available within a few minutes of being in the running state.

Units: Count

Element properties:

TargetAmazon.AmazonWebServices.AmazonInstanceHealth
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Amazon.AmazonWebServices.MetricCollectionTimerDataSource Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Amazon.AmazonWebServices.Rule.AmazonEC2InstanceMetric.StatusCheckFailed" Enabled="true" Target="Amazon.AmazonWebServices.AmazonInstanceHealth" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Amazon.AmazonWebServices.MetricCollectionTimerDataSource">
<WorkFlowName>StatusCheckFailedRuleTimer</WorkFlowName>
<StartTimeInSeconds>580</StartTimeInSeconds>
<IntervalTimeInSeconds>900</IntervalTimeInSeconds>
<NamespaceFilter>AWS/EC2</NamespaceFilter>
<MetricName>StatusCheckFailed</MetricName>
<ResourceName>InstanceId</ResourceName>
<ResourceId>$Target/Property[Type='Amazon.AmazonWebServices.AmazonInstanceHealth']/InstanceId$</ResourceId>
<TimeSpan>15</TimeSpan>
<Period>60</Period>
<StatisticType>Average</StatisticType>
<RegionName>$Target/Property[Type='Amazon.AmazonWebServices.Component']/RegionName$</RegionName>
<ObjectName>Amazon EC2 Instance</ObjectName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>