O365SMP SPO Monitor UnitMonitorType
O365SMP.SPO.Monitor.UnitMonitorType (UnitMonitorType)
Unit Monitor Type for Unit Monitor: O365SMP.SPO.Monitor
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="O365SMP.SPO.Monitor.UnitMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Healthy" NoDetection="false"/>
<MonitorTypeState ID="Critical" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SPOUser" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SPOPass" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SPOSite" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SPODocLib" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TempFolder" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SPOUser" Selector="$Config/SPOUser$" ParameterType="string"/>
<OverrideableParameter ID="SPOPass" Selector="$Config/SPOPass$" ParameterType="string"/>
<OverrideableParameter ID="SPOSite" Selector="$Config/SPOSite$" ParameterType="string"/>
<OverrideableParameter ID="SPODocLib" Selector="$Config/SPODocLib$" ParameterType="string"/>
<OverrideableParameter ID="TempFolder" Selector="$Config/TempFolder$" ParameterType="string"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DataSource" TypeID="O365SMP.SPO.Monitor.DataSourceModuleType">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SPOUser>$Config/SPOUser$</SPOUser>
<SPOPass>$Config/SPOPass$</SPOPass>
<SPOSite>$Config/SPOSite$</SPOSite>
<SPODocLib>$Config/SPODocLib$</SPODocLib>
<TempFolder>$Config/TempFolder$</TempFolder>
</DataSource>
<ProbeAction ID="Probe" TypeID="O365SMP.SPO.Monitor.ProbeActionModuleType">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<SPOUser>$Config/SPOUser$</SPOUser>
<SPOPass>$Config/SPOPass$</SPOPass>
<SPOSite>$Config/SPOSite$</SPOSite>
<SPODocLib>$Config/SPODocLib$</SPODocLib>
<TempFolder>$Config/TempFolder$</TempFolder>
</ProbeAction>
<ConditionDetection ID="HealthyFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Healthy</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="CriticalFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Critical</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Healthy">
<Node ID="HealthyFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Critical">
<Node ID="CriticalFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Healthy">
<Node ID="HealthyFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Critical">
<Node ID="CriticalFilter">
<Node ID="DataSource"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>