Amazon EC2 Instance System Status

Amazon.AmazonWebServices.UnitMonitor.AmazonInstanceSystemStatusCheckState (UnitMonitor)

It is a monitor for EC2 Instance Status Check

Knowledge Base article:

Summary

It is a script three-state monitor which is used for EC2 Instance System Status. It switches state depending on EC2 Instance System Status Check.

Monitor is in Healthy state when EC2 Instance System status is:

Monitor is in Warning state when EC2 Instance System status is:

Monitor is in Error state when EC2 Instance System status is:

Causes

This monitor depends on EC2 Instance System status check.

Resolutions

Investigate reason why EC2 Instance System failed to pass status check in Amazon Console

Element properties:

TargetAmazon.AmazonWebServices.AmazonInstanceHealth
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeAmazon.AmazonWebServices.MonitorType.AmazonInstanceSystemStatusCheckThreeStateType
RemotableTrue
AccessibilityPublic
Alert Message
Amazon EC2 Instance System Status Check Alert
The EC2 Instance '{0}' failed to pass status check.
RunAsDefault

Source Code:

<UnitMonitor ID="Amazon.AmazonWebServices.UnitMonitor.AmazonInstanceSystemStatusCheckState" Target="Amazon.AmazonWebServices.AmazonInstanceHealth" ParentMonitorID="Health!System.Health.AvailabilityState" TypeID="Amazon.AmazonWebServices.MonitorType.AmazonInstanceSystemStatusCheckThreeStateType" Remotable="true" Priority="Normal" ConfirmDelivery="false" Accessibility="Public" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Amazon.AmazonWebServices.UnitMonitor.AmazonInstanceSystemStatusCheckState.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="Error" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<WorkFlowName>AmazonInstanceSystemStatusCheckState</WorkFlowName>
<StartTimeInSeconds>100</StartTimeInSeconds>
<IntervalTimeInSeconds>900</IntervalTimeInSeconds>
<InstanceId>$Target/Property[Type='Amazon.AmazonWebServices.AmazonInstanceHealth']/InstanceId$</InstanceId>
<RegionName>$Target/Property[Type='Amazon.AmazonWebServices.Component']/RegionName$</RegionName>
</Configuration>
</UnitMonitor>