PureStorage.FlashArray.TimedScript.PowerShell.AlertsRuleMonitor.UnitMonitorType (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="PureStorage.FlashArray.TimedScript.PowerShell.AlertsRuleMonitor.UnitMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="OnCritical" NoDetection="false"/>
<MonitorTypeState ID="OnWarning" NoDetection="false"/>
<MonitorTypeState ID="OnHealthy" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string" name="ArrayInstanceId"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:integer" name="TimeoutSeconds"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:integer" name="IntervalSeconds"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:string" name="SyncTime"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:boolean" name="LogToArray" minOccurs="0" maxOccurs="1"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:boolean" name="IgnoreCertificateErrors" minOccurs="0" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LogToArray" Selector="$Config/LogToArray$" ParameterType="bool" Comment="Enable/Disable additional detailed logging to the array"/>
<OverrideableParameter ID="IgnoreCertificateErrors" Selector="$Config/IgnoreCertificateErrors$" ParameterType="bool"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DataSource" TypeID="PureStorage.FlashArray.TimedScript.PowerShell.AlertsRuleMonitor.DataSourceModuleType">
<ArrayInstanceId>$Config/ArrayInstanceId$</ArrayInstanceId>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<LogToArray>$Config/LogToArray$</LogToArray>
<IgnoreCertificateErrors>$Config/IgnoreCertificateErrors$</IgnoreCertificateErrors>
</DataSource>
<ProbeAction ID="Probe" TypeID="PureStorage.FlashArray.TimedScript.PowerShell.AlertsRuleMonitor.ProbeActionModuleType">
<ArrayInstanceId>$Config/ArrayInstanceId$</ArrayInstanceId>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<LogToArray>$Config/LogToArray$</LogToArray>
<IgnoreCertificateErrors>$Config/IgnoreCertificateErrors$</IgnoreCertificateErrors>
</ProbeAction>
<ConditionDetection ID="CriticalFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Severity']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">critical</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="WarningFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Severity']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">warning</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="HealthyFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='Warning']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">No</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="OnCritical">
<Node ID="CriticalFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OnWarning">
<Node ID="WarningFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="OnHealthy">
<Node ID="HealthyFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="OnCritical">
<Node ID="CriticalFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="OnWarning">
<Node ID="WarningFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="OnHealthy">
<Node ID="HealthyFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>