PureStorage.FlashArray.TimedScript.PowerShell.ArrayPerformanceMonitor.UnitMonitorType (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource PureStorage.FlashArray.PureArray.PowerShell.Script.Perf.DS Default
Probe ProbeAction PureStorage.FlashArray.TimedScript.PowerShell.ArrayPerformanceMonitor.ProbeActionModuleType Default
OverThresholdFilter ConditionDetection System.ExpressionFilter Default
UnderThresholdFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
TimeoutSecondsint$Config/TimeoutSeconds$
IntervalSecondsint$Config/IntervalSeconds$
Thresholddouble$Config/Threshold$
LogToArraybool$Config/LogToArray$
IgnoreCertificateErrorsbool$Config/IgnoreCertificateErrors$

Source Code:

<UnitMonitorType ID="PureStorage.FlashArray.TimedScript.PowerShell.ArrayPerformanceMonitor.UnitMonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="OverThreshold" NoDetection="false"/>
<MonitorTypeState ID="UnderThreshold" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<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="MetricName"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" type="xsd:double" name="Threshold"/>
<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="Threshold" Selector="$Config/Threshold$" ParameterType="double"/>
<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.PureArray.PowerShell.Script.Perf.DS">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<LogToArray>$Config/LogToArray$</LogToArray>
<IgnoreCertificateErrors>$Config/IgnoreCertificateErrors$</IgnoreCertificateErrors>
</DataSource>
<ProbeAction ID="Probe" TypeID="PureStorage.FlashArray.TimedScript.PowerShell.ArrayPerformanceMonitor.ProbeActionModuleType">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<LogToArray>$Config/LogToArray$</LogToArray>
<IgnoreCertificateErrors>$Config/IgnoreCertificateErrors$</IgnoreCertificateErrors>
</ProbeAction>
<ConditionDetection ID="OverThresholdFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='$Config/MetricName$']</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="UnderThresholdFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='$Config/MetricName$']</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/Threshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="OverThreshold">
<Node ID="OverThresholdFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="UnderThreshold">
<Node ID="UnderThresholdFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="OverThreshold">
<Node ID="OverThresholdFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="UnderThreshold">
<Node ID="UnderThresholdFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>