Monitors logical unit for warning conditions and generates an alert.
Logical unit has regressed, is not formatted or is being formatted.
Examine warning message and determine cause for the alert.
Target | Hitachi.Storage.LogicalUnit | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.WmiEventProvider.2SingleEvent2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Hitachi.Storage.LogicalUnit.Warning.AvailabilityState.UnitMonitor" Accessibility="Public" Enabled="true" Target="Hitachi.Storage.LogicalUnit" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.WmiEventProvider.2SingleEvent2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Hitachi.Storage.LogicalUnit.Warning.AvailabilityState.UnitMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Hitachi.Storage.LogicalUnit"]/ObjectID$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name="StatusDesc"]$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Success"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<FirstNameSpace>\\$Target/Property[Type="Hitachi.Storage.LogicalUnit"]/ConnectorID$\root\Hitachi</FirstNameSpace>
<FirstQuery>select ObjectID, Status, StatusDesc from LogicalUnitEvent within 30 where Status = 1 or Status = 12 or Status = 13 or Status = 99999 or Status = 0 or Status = 6 or Status = 7</FirstQuery>
<FirstPollInterval>30</FirstPollInterval>
<FirstExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="ObjectID"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Hitachi.Storage.LogicalUnit"]/ObjectID$</Value>
</ValueExpression>
</SimpleExpression>
</FirstExpression>
<SecondNameSpace>\\$Target/Property[Type="Hitachi.Storage.LogicalUnit"]/ConnectorID$\root\Hitachi</SecondNameSpace>
<SecondQuery>select ObjectID, Status, StatusDesc from LogicalUnitEvent within 30 where Status = 2 or Status = 3 or Status = 4 or Status = 5 or Status = 8 or Status = 9 or Status = 10 or Status = 11</SecondQuery>
<SecondPollInterval>30</SecondPollInterval>
<SecondExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name="ObjectID"]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Hitachi.Storage.LogicalUnit"]/ObjectID$</Value>
</ValueExpression>
</SimpleExpression>
</SecondExpression>
</Configuration>
</UnitMonitor>